public override bool Equals(object obj) { SpawnLocation loc = obj as SpawnLocation; return(loc?.X == X && loc?.Y == Y && loc?.Z == Z && loc.Heading == Heading); }
public SpawnLocation(SpawnLocation loc) : base(loc) { Heading = loc.Heading; }