public function save() { $ret = parent::save(); $ret->sovietGoal = $this->sovietGoal; $ret->supplyUnits = $this->supplyUnits; return $ret; }
public function save() { $ret = parent::save(); $ret->landingZones = $this->landingZones; $ret->airdropZones = $this->airdropZones; return $ret; }
public function save() { $ret = parent::save(); $ret->indianGoal = $this->indianGoal; $ret->pakistaniGoal = $this->pakistaniGoal; return $ret; }
public function save() { $ret = parent::save(); $ret->germanGoal = $this->germanGoal; $ret->sovietGoal = $this->sovietGoal; return $ret; }
public function save() { $ret = parent::save(); $ret->landingZones = $this->landingZones; $ret->airdropZones = $this->airdropZones; $ret->scienceCenterDestroyed = $this->scienceCenterDestroyed; return $ret; }
public function save() { $ret = parent::save(); $ret->rebelGoal = $this->rebelGoal; $ret->loyalistGoal = $this->loyalistGoal; $ret->headQuarters = $this->headQuarters; return $ret; }
public function save() { $ret = parent::save(); return $ret; }
public function playerTurnChange($arg) { parent::playerTurnChange($arg); $attackingId = $arg[0]; $battle = Battle::getBattle(); $mapData = $battle->mapData; $vp = $this->victoryPoints; $specialHexes = $mapData->specialHexes; $gameRules = $battle->gameRules; if ($gameRules->phase == BLUE_MECH_PHASE || $gameRules->phase == RED_MECH_PHASE) { $gameRules->flashMessages[] = "@hide crt"; } if ($attackingId == GERMAN_FORCE) { if ($gameRules->turn <= $gameRules->maxTurn) { $gameRules->flashMessages[] = "German Player Turn"; $gameRules->replacementsAvail = 1; } } if ($attackingId == SOVIET_FORCE) { $gameRules->flashMessages[] = "Soviet Player Turn"; $gameRules->replacementsAvail = 6; } /*only get special VPs' at end of first Movement Phase */ $this->victoryPoints = $vp; }