Exemplo n.º 1
0
 public override bool Equals(ACommand otherCmd)
 {
     if (otherCmd is AttackCommand other)
     {
         return((AllyPos.Equals(other.AllyPos)) && (Target.Equals(other.Target)));
     }
     else
     {
         return(false);
     }
 }
Exemplo n.º 2
0
 public abstract bool Equals(ACommand otherCmd);
Exemplo n.º 3
0
 public override bool Equals(ACommand otherCmd)
 {
     return(otherCmd is InspectCommand);
 }