Added MNGuyen's improved and alphabatized deck handling(noticeable speed increase btween menus) and almosthumane's automated pass phase option.
This commit is contained in:
27
projects/mtg/include/DeckManager.h
Normal file
27
projects/mtg/include/DeckManager.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
class DeckManager
|
||||
{
|
||||
protected:
|
||||
static DeckManager * mInstance;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
vector<int> playerDeckOrderList;
|
||||
vector<int> aiDeckOrderList;
|
||||
|
||||
|
||||
vector<int> * getPlayerDeckOrderList();
|
||||
vector<int> * getAIDeckOrderList();
|
||||
|
||||
static DeckManager * GetInstance();
|
||||
static void EndInstance();
|
||||
|
||||
DeckManager();
|
||||
~DeckManager();
|
||||
};
|
||||
Reference in New Issue
Block a user