diff options
Diffstat (limited to 'src/components/droppable.h')
| -rw-r--r-- | src/components/droppable.h | 15 |
1 files changed, 15 insertions, 0 deletions
| diff --git a/src/components/droppable.h b/src/components/droppable.h new file mode 100644 index 0000000..1f5608b --- /dev/null +++ b/src/components/droppable.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #ifndef DROPPABLE_H_5DB254EF | ||
| 2 | #define DROPPABLE_H_5DB254EF | ||
| 3 | |||
| 4 | #include "component.h" | ||
| 5 | |||
| 6 | class DroppableComponent : public Component { | ||
| 7 | public: | ||
| 8 | void setDroppable(bool can); | ||
| 9 | bool isDroppable() const; | ||
| 10 | |||
| 11 | private: | ||
| 12 | bool droppable = false; | ||
| 13 | }; | ||
| 14 | |||
| 15 | #endif /* end of include guard: DROPPABLE_H_5DB254EF */ | ||
