2010-12-22 22:14:40 +02:00
|
|
|
#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
|
2010-12-23 22:18:10 +02:00
|
|
|
BattleAction activeStack(const CStack * stack) OVERRIDE; //called when it's turn of that stack
|
2010-12-22 22:14:40 +02:00
|
|
|
};
|
|
|
|
|