Erwan
- fix issue 151 (I hope) - small french translation Update - Nezumi Cutthroat fix
This commit is contained in:
@@ -62,6 +62,7 @@ class AIPlayer: public Player{
|
||||
public:
|
||||
void End(){};
|
||||
virtual int displayStack() {return 0;};
|
||||
int receiveEvent(WEvent * event);
|
||||
AIStats * stats;
|
||||
ManaCost * getPotentialMana(MTGCardInstance * card = NULL);
|
||||
AIPlayer(MTGPlayerCards * deck, string deckFile, string deckFileSmall);
|
||||
|
||||
@@ -12,6 +12,7 @@ class Player;
|
||||
class MTGCardInstance;
|
||||
class MTGCard;
|
||||
class Damage;
|
||||
class WEvent;
|
||||
|
||||
class AIStat{
|
||||
public:
|
||||
@@ -31,12 +32,12 @@ class AIStats{
|
||||
list<AIStat *> stats;
|
||||
AIStats(Player * _player, char * filename);
|
||||
~AIStats();
|
||||
void updateStats();
|
||||
void load(char * filename);
|
||||
void save();
|
||||
AIStat * find(MTGCard * card);
|
||||
bool isInTop(MTGCardInstance * card, unsigned int max, bool tooSmallCountsForTrue = true );
|
||||
void updateStatsCard(MTGCardInstance * cardInstance, Damage * damage, float multiplier = 1.0);
|
||||
int receiveEvent(WEvent * event);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -37,6 +37,8 @@ class Player: public Damageable{
|
||||
JQuad * getIcon();
|
||||
string deckFile;
|
||||
string deckFileSmall;
|
||||
|
||||
virtual int receiveEvent(WEvent * event){return 0;};
|
||||
};
|
||||
|
||||
class HumanPlayer: public Player{
|
||||
|
||||
Reference in New Issue
Block a user