Added C Interface for BattleParty.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-08 15:19:19 +01:00
parent bbe99da0f0
commit 1afb13cfd1
2 changed files with 23 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ namespace CreatureLib::Battling {
uint8_t _creature;
public:
CreatureIndex() : _side(0), _creature(0) {}
CreatureIndex(uint8_t side, uint8_t creature) : _side(side), _creature(creature) {}
uint8_t GetSideIndex() const { return _side; }