Exemple #1
0
        public static void Observe()
        {
            if (Level == null)
            {
                return;
            }

            Level.UpdateFieldOfView(Hero);
            Array.Copy(Level.fieldOfView, 0, Visible, 0, Visible.Length);

            BArray.or(Level.visited, Visible, Level.visited);

            GameScene.AfterObserve();
        }
Exemple #2
0
 public override void Reload()
 {
     base.Reload();
     GameScene.AfterObserve();
 }