New code, WiP.
New Path, Character and other simple classes, but a renderer is missing so now nothing gets displayed anymore.
This commit is contained in:
parent
8b11e76835
commit
bcc0937726
13 changed files with 179 additions and 27 deletions
19
src/placeable.hpp
Normal file
19
src/placeable.hpp
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef id703E4B8DFFF747DFA97864384B87E9C1
|
||||
#define id703E4B8DFFF747DFA97864384B87E9C1
|
||||
|
||||
#include "vector.hpp"
|
||||
|
||||
namespace cloonel {
|
||||
class Placeable {
|
||||
public:
|
||||
const float2& GetPos ( void ) const noexcept { return m_pos; }
|
||||
|
||||
protected:
|
||||
Placeable ( float parX, float parY );
|
||||
~Placeable ( void ) noexcept = default;
|
||||
|
||||
float2 m_pos;
|
||||
};
|
||||
} //namespace cloonel
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue