Пример #1
0
 public void Update(Actor actor)
 {
     //switch (Controller.GetMovementDirection())
     //{
     //    case LEFT:
     //        actor.X -= MOVEMENT_ACCELERATION;
     //        break;
     //    case RIGHT:
     //        actor.X += MOVEMENT_ACCELERATION;
     //        break;
     //    case UP:
     //        actor.Y -= MOVEMENT_ACCELERATION;
     //        break;
     //    case DOWN:
     //        actor.Y += MOVEMENT_ACCELERATION;
     //        break;
     //}
 }
Пример #2
0
 public AttackSlash(Actor actor)
     : base(actor)
 {
     _extraCost = 2;
 }
Пример #3
0
 public Attack(Actor actor)
 {
     _actor = actor;
     _rand = new Random();
     _cost = 3;
 }
Пример #4
0
 public AttackStab(Actor actor)
     : base(actor)
 {
     _extraCost = 7;
 }