Implements marking opponents as seen.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-12-14 12:40:50 +01:00
parent c25d7b865e
commit 3baed93597
5 changed files with 58 additions and 2 deletions

View File

@@ -47,6 +47,8 @@ namespace CreatureLib::Battling {
void GetActiveScripts(std::vector<ScriptWrapper>& scripts) final;
const std::vector<Creature*>& GetCreatures() { return _creatures; }
uint8_t GetSideIndex() { return _index; }
uint8_t GetCreatureIndex(Creature* c) {
for (size_t i = 0; i < _creatures.size(); i++) {