Erwan
- Reward system in Story mode (currently, either credits or random set) - Rules now accept for player 2 to start (see story mode "block" stage) - Story mode now has an autosave/autoload mechanism. This is for convenience but also to prevent people from abusing the reward mechanism too easily. - possibility to choose an avatar for both players through the rules (see example in story mode)
This commit is contained in:
@@ -193,12 +193,14 @@ void GameObserver::startGame(Rules * rules){
|
||||
mLayers = NEW DuelLayers();
|
||||
mLayers->init();
|
||||
|
||||
currentPlayerId = 0;
|
||||
currentPlayer = players[0];
|
||||
currentActionPlayer = currentPlayer;
|
||||
phaseRing = NEW PhaseRing(players,nbPlayers);
|
||||
if (rules)
|
||||
rules->initGame();
|
||||
|
||||
|
||||
//Preload images from hand
|
||||
if (!players[0]->isAI()){
|
||||
for (int i=0; i< players[0]->game->hand->nb_cards; i++){
|
||||
|
||||
Reference in New Issue
Block a user