Method | Description | |
---|---|---|
Distance ( S32Vec2, coords1, S32Vec2, coords2, bool turnedHexes ) : ushort | ||
GetNeighborMapCoords ( S32Vec2, pos, HexDirection direction ) : S32Vec2, | ||
GetNeighborMapCoords ( S32Vec2, pos, TurnedHexDirection direction ) : S32Vec2, | ||
IsMapCoordsAdjacent ( S32Vec2, coords1, S32Vec2, coords2, bool turnedHexes ) : bool |
Определяет, прилегают ли к друг другу данные координаты.
|
public static Distance ( S32Vec2, coords1, S32Vec2, coords2, bool turnedHexes ) : ushort | ||
coords1 | S32Vec2, | |
coords2 | S32Vec2, | |
turnedHexes | bool | |
return | ushort |
public static GetNeighborMapCoords ( S32Vec2, pos, HexDirection direction ) : S32Vec2, | ||
pos | S32Vec2, | |
direction | HexDirection | |
return | S32Vec2, |
public static GetNeighborMapCoords ( S32Vec2, pos, TurnedHexDirection direction ) : S32Vec2, | ||
pos | S32Vec2, | |
direction | TurnedHexDirection | |
return | S32Vec2, |
public static IsMapCoordsAdjacent ( S32Vec2, coords1, S32Vec2, coords2, bool turnedHexes ) : bool | ||
coords1 | S32Vec2, | |
coords2 | S32Vec2, | |
turnedHexes | bool | |
return | bool |