blob: 8f56912d71bfc2ef49dbe91db149f2bbfa17b24c (
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 ORIENTABLE_H_EDB6C4A1
#define ORIENTABLE_H_EDB6C4A1
#include "component.h"
class OrientableComponent : public Component {
public:
inline bool isFacingRight() const
{
return facingRight_;
}
inline void setFacingRight(bool v)
{
facingRight_ = v;
}
private:
bool facingRight_ = false;
};
#endif /* end of include guard: ORIENTABLE_H_EDB6C4A1 */
|