1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/AI/StupidAI/StupidAI.h

15 lines
505 B
C
Raw Normal View History

#pragma once
class CStupidAI : public CBattleGameInterface
{
public:
CStupidAI(void);
~CStupidAI(void);
void init(IBattleCallback * CB) OVERRIDE;
void actionFinished(const BattleAction *action) OVERRIDE;//occurs AFTER every action taken by any stack or by the hero
void actionStarted(const BattleAction *action) OVERRIDE;//occurs BEFORE every action taken by any stack or by the hero
BattleAction activeStack(const CStack * stack) OVERRIDE; //called when it's turn of that stack
};