Ejemplo n.º 1
0
 protected bool Equals(BaseCharacter other)
 {
     return Id.Equals(other.Id);
 }
Ejemplo n.º 2
0
 protected GameAction(int priority, BaseCharacter source)
     : base(priority, source)
 {
 }
Ejemplo n.º 3
0
 public PhysicalDamageAction(int priority, BaseCharacter source, BaseCharacter target, double damage)
     : base(priority, source, target, damage)
 {
 }
Ejemplo n.º 4
0
 public TeleportationAction(int priority, BaseCharacter source, Position target)
     : base(priority, source)
 {
     Target = target;
 }
Ejemplo n.º 5
0
 public MoveCommand(BaseCharacter character, Position target)
 {
     Character = character;
     Target = target;
 }
Ejemplo n.º 6
0
 protected MovementAction(int priority, BaseCharacter source)
     : base(priority, source)
 {
 }
Ejemplo n.º 7
0
 public WalkAction(int priority, BaseCharacter source)
     : base(priority, source)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 8
0
 protected DamageAction(int priority, BaseCharacter source, BaseCharacter target, double damage)
     : base(priority, source)
 {
     Damage = damage;
     Target = target;
 }