コード例 #1
0
        public override bool Equals(object obj)
        {
            SpawnLocation loc = obj as SpawnLocation;

            return(loc?.X == X && loc?.Y == Y && loc?.Z == Z && loc.Heading == Heading);
        }
コード例 #2
0
 public SpawnLocation(SpawnLocation loc) : base(loc)
 {
     Heading = loc.Heading;
 }