- removed every references to the gameobserver singleton. This object can now be instantiated several times as it's needed for minmax. To be able to do that, I mostly added a reference to a gameobserver from any targetable object (cards, players, spells) and abilities.
18 lines
424 B
C++
18 lines
424 B
C++
#ifndef _AIMOMIRPLAYER_H_
|
|
#define _AIMOMIRPLAYER_H_
|
|
|
|
#include "AIPlayerBaka.h"
|
|
|
|
class AIMomirPlayer: public AIPlayerBaka
|
|
{
|
|
public:
|
|
AIMomirPlayer(GameObserver *observer, string file, string fileSmall, string avatarFile, MTGDeck * deck = NULL);
|
|
int getEfficiency(OrderedAIAction * action);
|
|
int momir();
|
|
int computeActions();
|
|
static MTGAbility * momirAbility;
|
|
MTGAbility * getMomirAbility();
|
|
};
|
|
|
|
#endif
|