Esempio n. 1
0
    public static BuildingGS waitGameState(BuildingGS gs, int time)
    {
        BuildingGS endGS = new BuildingGS(gs);

        endGS.timePasses(time);
        return(endGS);
    }
Esempio n. 2
0
    private void tick()
    {
        // Simulate one tick of this game
        gameState.timePasses(1);
        displayAllResourceCount();

        resourceDisplay.updateTick();
    }
Esempio n. 3
0
 private void tick()
 {
     aiCurrentGameState.timePasses(1);
     for (int indexActor = 0; indexActor < noOfActors; indexActor++)
     {
         if (isTargetReached(indexActor))
         {
             targetReached(indexActor);
         }
     }
     Debug.Log("Target reached bool: " + targetReachedBoolAi);
     updateAiResourceDisplay();
 }