Exemplo n.º 1
0
 protected void UseElevator(ElevatorObj eo)
 {
     GameData.Instance.playerFloors[playerID][_gridCreator.mineType] = eo.floor;
     GameData.Instance.playerMoney[playerID]    -= eo.price;
     GameData.Instance.playerMoney[eo.playerID] += eo.price;
     _gridCreator.DisplayNewLayout();
 }
Exemplo n.º 2
0
 protected void UseElevator(ElevatorObj eo)
 {
     GameData.Instance.playerFloors[playerID][GameData.Instance.playerMineLocations[playerID]] = eo.floor;
     GameData.Instance.playerMoney[playerID]    -= eo.price;
     GameData.Instance.playerMoney[eo.playerID] += eo.price;
 }