Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627909
Action.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
588 B
Referenced Files
None
Subscribers
None
Action.h
View Options
//
// Created by Ido Mozes on 08/07/2019.
//
#ifndef SDL_GAME_ACTION_H
#define SDL_GAME_ACTION_H
#include
"../Component.h"
enum
ActionType
{
DRAG
,
CLICK
,
DROP
,
SELECT
};
class
Action
:
public
Component
{
public
:
bool
disabled
;
ActionType
actionType
;
static
constexpr
ComponentType
type
=
ComponentType
::
ACTION
;
explicit
Action
(
ActionType
actionType
,
bool
disabled
=
false
)
:
actionType
(
actionType
),
disabled
(
disabled
)
{}
~
Action
()
override
=
default
;
};
#endif
//SDL_GAME_ACTION_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 2:58 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
152036
Default Alt Text
Action.h (588 B)
Attached To
Mode
R74 BloonsTD
Attached
Detach File
Event Timeline