diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-06-26 19:59:28 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-06-26 19:59:28 -0400 |
| commit | 428c401f9c1053f7e13ffe641758dfb72791d8dc (patch) | |
| tree | 3b7c74e0346db3d08319e309c37e975e19395d74 /src/components/droppable.h | |
| parent | 55c8a14a7e2b2dadf0def3e09f970818164366f5 (diff) | |
| download | therapy-428c401f9c1053f7e13ffe641758dfb72791d8dc.tar.gz therapy-428c401f9c1053f7e13ffe641758dfb72791d8dc.tar.bz2 therapy-428c401f9c1053f7e13ffe641758dfb72791d8dc.zip | |
Player now moves
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 */ | ||
