Implement some more base types, including basic units. This should be much closer to final interface

This commit is contained in:
Marc Di Luzio 2014-12-16 13:12:54 +00:00
parent 51cdda821d
commit 64f9638352
9 changed files with 174 additions and 74 deletions

20
game/unitv.h Normal file
View 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