Implement some more base types, including basic units. This should be much closer to final interface
This commit is contained in:
parent
51cdda821d
commit
64f9638352
9 changed files with 174 additions and 74 deletions
20
game/unitv.h
Normal file
20
game/unitv.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef _UNITV_H_
|
||||
#define _UNITV_H_
|
||||
|
||||
// V unit
|
||||
class CUnitV
|
||||
: public CUnit<'V'>
|
||||
{
|
||||
public:
|
||||
CUnitV() = default;
|
||||
virtual ~CUnitV() = default;
|
||||
|
||||
virtual std::string&& getDescriptor();
|
||||
|
||||
private:
|
||||
|
||||
// V also has a direction
|
||||
char dir;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue