Méthode | 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 | |
Résultat | ushort |
public static GetNeighborMapCoords ( S32Vec2, pos, HexDirection direction ) : S32Vec2, | ||
pos | S32Vec2, | |
direction | HexDirection | |
Résultat | S32Vec2, |
public static GetNeighborMapCoords ( S32Vec2, pos, TurnedHexDirection direction ) : S32Vec2, | ||
pos | S32Vec2, | |
direction | TurnedHexDirection | |
Résultat | S32Vec2, |
public static IsMapCoordsAdjacent ( S32Vec2, coords1, S32Vec2, coords2, bool turnedHexes ) : bool | ||
coords1 | S32Vec2, | |
coords2 | S32Vec2, | |
turnedHexes | bool | |
Résultat | bool |