Ejemplo n.º 1
0
 public abstract bool IsValid(MovementProposed m);
 public override bool IsValid(MovementProposed m) => m.Delta.IsCardinal();
 public override bool IsValid(MovementProposed m) => m.Type == MovementType.Attack || map.IsWalkable(m.To);
Ejemplo n.º 4
0
 public override bool IsValid(MovementProposed m) => m.Type == MovementType.Attack || !map.IsBlocked(m.To);