summary refs log tree commit diff stats
path: root/src/components/droppable.h
blob: 722c139ea3f689e4271eb3b79aae5a303f8f5c74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef DROPPABLE_H_5DB254EF
#define DROPPABLE_H_5DB254EF

#include "component.h"

class DroppableComponent : public Component {
public:

  inline bool isDroppable() const
  {
    return droppable_;
  }

  inline void setDroppable(bool can)
  {
    droppable_ = can;
  }

private:

  bool droppable_ = false;
};

#endif /* end of include guard: DROPPABLE_H_5DB254EF */