ttrts/game/unitv.h
Marc Di Luzio 008739dee6 Various work towards a basic game implementation
Get rid of some virtual functions that weren't needed.
Fix some functions to work during static init if need be.
Units now have unique incremental IDs
2014-12-16 13:13:00 +00:00

26 lines
No EOL
354 B
C++

#ifndef _UNITV_H_
#define _UNITV_H_
#include "unit.h"
// V unit
class CUnitV
: public CUnit
{
public:
CUnitV();
virtual ~CUnitV() = default;
// Set from a visual
virtual bool setFromVisual( unitVis_c& vis ) override;
private:
// Update the visual of V
unitVis_c updateMyVisual();
// V also has a direction
dir_t dir;
};
#endif //_UNITV_H_