public override int GetHashCode() { return(ContainedObject.GetHashCode() + Frequency); }
public GridTile(TileTypes type, ContainedObject obj = ContainedObject.Empty) { this.type = type; containedObject = obj; }