예제 #1
0
파일: Ship.cs 프로젝트: vvnurmi/MOOLGOSS
 public override bool Equals(Wob other)
 {
     var ship = other as Ship;
     return ship != null && ID == ship.ID && Pose.Equals(ship._pose);
 }
예제 #2
0
파일: Droid.cs 프로젝트: vvnurmi/MOOLGOSS
 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);
 }
예제 #3
0
파일: Station.cs 프로젝트: vvnurmi/MOOLGOSS
 public override bool Equals(Wob other)
 {
     var station = other as Station;
     return station != null && ID == station.ID && Pos == station.Pos;
 }
예제 #4
0
파일: Planet.cs 프로젝트: vvnurmi/MOOLGOSS
 public override bool Equals(Wob other)
 {
     var planet = other as Planet;
     return planet != null && ID == planet.ID && Name == planet.Name && Pos == planet.Pos;
 }