17 lines
455 B
C++
17 lines
455 B
C++
|
#ifndef CREATURELIB_TALENTINDEX_HPP
|
||
|
#define CREATURELIB_TALENTINDEX_HPP
|
||
|
|
||
|
#include <cstdint>
|
||
|
class TalentIndex {
|
||
|
bool _secret;
|
||
|
uint8_t _index;
|
||
|
|
||
|
public:
|
||
|
TalentIndex() : _secret(false), _index(0){};
|
||
|
TalentIndex(bool secret, uint8_t index) : _secret(secret), _index(index) {}
|
||
|
constexpr inline bool IsSecret() const { return _secret; }
|
||
|
constexpr inline bool GetIndex() const { return _index; }
|
||
|
};
|
||
|
|
||
|
#endif // CREATURELIB_TALENTINDEX_HPP
|