Exemplo n.º 1
0
        public Zombie(Zombie zombie)
            : base(zombie.Game)
        {
            this.currentState = zombie.currentState;

            this.Walk = new States.Walk(zombie.Walk);
            this.Attack = new States.Attack(zombie.Attack);
            this.Death = new States.Death(zombie.Death);
            this.LP = zombie.LP;
            this.Impacts = new List<Impacts.IZombieImpact>();
        }
Exemplo n.º 2
0
 public virtual void Remove(Zombie zombie)
 {
     this.Zombies.Remove(zombie);
     this.Grid.Remove(zombie);
 }
Exemplo n.º 3
0
 public virtual void Add(Zombie zombie)
 {
     this.Zombies.Add(zombie);
     this.Grid.Add(zombie);
 }