Issue: 474

modified player status to recognize that test suite has been activated.  This is to allow deactivation of "phase skip automation" game setting during test suite.  
TODO: fix "Phase Skip Automation" such that if turned on the test suite does not break.  This fix should be considered temporary
This commit is contained in:
techdragon.nguyen@gmail.com
2010-10-04 16:27:39 +00:00
parent 8e83e0d632
commit 703a9b7c6c
2 changed files with 10 additions and 1 deletions

View File

@@ -15,12 +15,21 @@ class Player: public Damageable{
ManaPool * manaPool;
public:
enum ENUM_PLAY_MODE
{
MODE_TEST_SUITE,
MODE_HUMAN,
MODE_AI,
};
virtual void End();
int typeAsTarget(){return TARGET_PLAYER;}
const string getDisplayName() const;
virtual int displayStack(){return 1;}
JTexture * mAvatarTex;
JQuad * mAvatar;
int playMode;
int canPutLandsIntoPlay;
int nomaxhandsize;
int castedspellsthisturn;

View File

@@ -88,7 +88,7 @@ class TestSuiteAI:public AIPlayerBaka{
public:
TestSuite * suite;
float timer;
int playMode;
TestSuiteAI(TestSuite * suite, int playerId);
virtual int Act(float dt);
virtual int displayStack();