- fix issue 151 (I hope)
- small french translation Update
- Nezumi Cutthroat fix
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-11-03 03:51:05 +00:00
parent 7fd44a077e
commit 1d20f37ded
9 changed files with 33 additions and 24 deletions
+1
View File
@@ -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);
+2 -1
View File
@@ -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
+2
View File
@@ -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{