C# Class Pathfinding.Int2

Datei anzeigen Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
x int
y int

Public Methods

Method Description
Dot ( Int2 a, Int2 b ) : int
DotLong ( Int2 a, Int2 b ) : long
Equals ( System o ) : bool
FromInt3XZ ( Int3 o ) : Int2
GetHashCode ( ) : int
Int2 ( int x, int y ) : Pathfinding.Pathfinding
Max ( Int2 a, Int2 b ) : Int2
Min ( Int2 a, Int2 b ) : Int2
Rotate ( Int2 v, int r ) : Int2
ToInt3XZ ( Int2 o ) : Int3
ToString ( ) : string
operator ( ) : Int2
operator ( ) : bool

Method Details

Dot() public static method

public static Dot ( Int2 a, Int2 b ) : int
a Int2
b Int2
return int

DotLong() public static method

public static DotLong ( Int2 a, Int2 b ) : long
a Int2
b Int2
return long

Equals() public method

public Equals ( System o ) : bool
o System
return bool

FromInt3XZ() public static method

public static FromInt3XZ ( Int3 o ) : Int2
o Int3
return Int2

GetHashCode() public method

public GetHashCode ( ) : int
return int

Int2() public method

public Int2 ( int x, int y ) : Pathfinding.Pathfinding
x int
y int
return Pathfinding.Pathfinding

Max() public static method

public static Max ( Int2 a, Int2 b ) : Int2
a Int2
b Int2
return Int2

Min() public static method

public static Min ( Int2 a, Int2 b ) : Int2
a Int2
b Int2
return Int2

Rotate() public static method

public static Rotate ( Int2 v, int r ) : Int2
v Int2
r int
return Int2

ToInt3XZ() public static method

public static ToInt3XZ ( Int2 o ) : Int3
o Int2
return Int3

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : Int2
return Int2

operator() public static method

public static operator ( ) : bool
return bool

Property Details

x public_oe property

public int x
return int

y public_oe property

public int y
return int