Equals(object obj) { if (obj == null) { return(false); } if (GetType() != obj.GetType()) { return(false); } AxialHexCoord other = (AxialHexCoord)obj; return((this.q == other.q) && (this.r == other.r)); }
FloatAxial(AxialHexCoord axial) { this.q = (float)axial.q; this.r = (float)axial.r; }