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