コード例 #1
0
 public void StartTurn()
 {
     ActionPointHandler.ResetActionPoints();
     StatusHandler.PerTurnStatuses();
     AbilityHandler.TickCooldowns();
     active = true;
     UpdateAvailability();
 }
コード例 #2
0
    // Use this for initialization
    void Start()
    {
        GameData.AdventureManager = this;

        tileRenderer           = gameObject.GetComponent <TileRenderer>();
        textHandler            = gameObject.GetComponent <TextHandler>();
        actionPointHandler     = gameObject.GetComponent <ActionPointHandler>();
        simpleEncounterHandler = gameObject.GetComponent <SimpleEncounterHandler>();
    }