Riwmorld
|
Public Member Functions | |
IntVec2 (int newX, int newZ) | |
IntVec2 (Vector2 v2) | |
override bool | Equals (object obj) |
bool | Equals (IntVec2 other) |
override int | GetHashCode () |
IntVec2 | Rotated () |
override string | ToString () |
string | ToStringCross () |
Vector2 | ToVector2 () |
Vector2 | ToVector2Shifted () |
Vector3 | ToVector3 () |
Static Public Member Functions | |
static IntVec2 | FromString (string str) |
static IntVec2 | operator+ (IntVec2 a, IntVec2 b) |
static IntVec2 | operator/ (IntVec2 a, int b) |
static bool | operator== (IntVec2 a, IntVec2 b) |
static bool | operator!= (IntVec2 a, IntVec2 b) |
static IntVec2 | operator* (IntVec2 a, int b) |
static IntVec2 | operator- (IntVec2 a, IntVec2 b) |
Public Attributes | |
int | x |
int | z |
Properties | |
static IntVec2 | East [get] |
static IntVec2 | Invalid [get] |
bool | IsInvalid [get] |
bool | IsValid [get] |
float | Magnitude [get] |
static IntVec2 | North [get] |
static IntVec2 | One [get] |
static IntVec2 | South [get] |
IntVec3 | ToIntVec3 [get] |
static IntVec2 | Two [get] |
static IntVec2 | West [get] |
static IntVec2 | Zero [get] |