示例#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>();
        }
示例#2
0
 public virtual void Remove(Zombie zombie)
 {
     this.Zombies.Remove(zombie);
     this.Grid.Remove(zombie);
 }
示例#3
0
 public virtual void Add(Zombie zombie)
 {
     this.Zombies.Add(zombie);
     this.Grid.Add(zombie);
 }