Esempio n. 1
0
 public static void RefreshPlayerView()
 {
     CursorController.HideAttackCursors();
     CursorController.HideConfirmAttackCursors();
     CursorController.ShowMoveCells();
     CursorController.RefreshAlarmCursors();
     SetState(State.PickAction);
     Menu.Refresh();
     ActionInformation.Hide();
     DeathInformation.Refresh();
     MenuCamera.Refresh();
 }
Esempio n. 2
0
 private void OnDie(DeathInformation e)
 {
     lastKillPosition = e.deathPosition;
     existing--;
     if (doSpawn)
     {
         if (timeBetweenInvokes.y == 0)
         {
             SpawnToMax();
         }
         else
         {
             Timing.RunCoroutine(_WaitThenSpawn().CancelWith(gameObject));
         }
     }
 }
    // Token: 0x06001092 RID: 4242
    public override void Serialize(Archive ar)
    {
        if (ar.Reading)
        {
            int num = ar.Serialize(0);
            this.Deaths.Clear();
            for (int i = 0; i < num; i++)
            {
                DeathInformation deathInformation = new DeathInformation();
                deathInformation.Serialize(ar);
                this.Deaths.Add(deathInformation);
            }
            DeathWispsManager.Refresh();
            return;
        }
        int count = this.Deaths.Count;

        ar.Serialize(count);
        for (int j = 0; j < count; j++)
        {
            this.Deaths[j].Serialize(ar);
        }
    }
Esempio n. 4
0
 private void OnDie(DeathInformation e)
 {
     existing--;
 }