Example #1
0
 public override bool Equals(Wob other)
 {
     var ship = other as Ship;
     return ship != null && ID == ship.ID && Pose.Equals(ship._pose);
 }
Example #2
0
 public override bool Equals(Wob other)
 {
     var d = other as Droid;
     return d != null && _pose.Equals(d._pose) && _inventoryID.Equals(d._inventoryID) && _logic.Equals(d._logic);
 }
Example #3
0
 public override bool Equals(Wob other)
 {
     var station = other as Station;
     return station != null && ID == station.ID && Pos == station.Pos;
 }
Example #4
0
 public override bool Equals(Wob other)
 {
     var planet = other as Planet;
     return planet != null && ID == planet.ID && Name == planet.Name && Pos == planet.Pos;
 }