Page MenuHomePhabricator (Chris)

Action.h
No OneTemporary

Authored By
Unknown
Size
588 B
Referenced Files
None
Subscribers
None

Action.h

//
// 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

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)

Event Timeline