Debian Codegraph @

src/level/FinderPlace.h

raw
1 #ifndef HEADER_FINDERPLACE_H
2 #define HEADER_FINDERPLACE_H
3
4 #include "Dir.h"
5 #include "V2.h"
6
7 /**
8 * Place with some info used for finding.
9 */
10 class FinderPlace {
11 private:
12 Dir::eDir m_startDir;
13 V2 m_loc;
14 public:
15 FinderPlace(Dir::eDir startDir, const V2 &loc)
16 : m_startDir(startDir), m_loc(loc) {}
17 V2 getLoc() const { return m_loc; }
18 Dir::eDir getStartDir() const { return m_startDir; }
19 };
20
21 #endif