25 lines
506 B
C++
25 lines
506 B
C++
|
#ifndef CREATURELIB_TARGET_HPP
|
||
|
#define CREATURELIB_TARGET_HPP
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include "Creature.hpp"
|
||
|
|
||
|
namespace CreatureLib::Battling {
|
||
|
class Target {
|
||
|
uint8_t _side;
|
||
|
uint8_t _creature;
|
||
|
public:
|
||
|
Target(uint8_t side, uint8_t creature) : _side(side), _creature(creature){}
|
||
|
|
||
|
uint8_t GetSideIndex() const{
|
||
|
return _side;
|
||
|
}
|
||
|
|
||
|
uint8_t GetCreatureIndex() const{
|
||
|
return _creature;
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif //CREATURELIB_TARGET_HPP
|