C# Class Coord, Griddy

Show file Open project: nickbreslin/Griddy Class Usage Examples

Public Methods

Method Description
Coord ( Vector2 vector ) : System.Collections
Coord ( float x, float y ) : System.Collections
Coord ( int x, int y ) : System.Collections
Equals ( Coord coord ) : bool
Equals ( Vector2 vector ) : bool
Equals ( float x, float y ) : bool
Equals ( int x, int y ) : bool
ToString ( ) : string
ToVector ( ) : Vector2

Method Details

Coord() public method

public Coord ( Vector2 vector ) : System.Collections
vector Vector2
return System.Collections

Coord() public method

public Coord ( float x, float y ) : System.Collections
x float
y float
return System.Collections

Coord() public method

public Coord ( int x, int y ) : System.Collections
x int
y int
return System.Collections

Equals() public method

public Equals ( Coord coord ) : bool
coord Coord
return bool

Equals() public method

public Equals ( Vector2 vector ) : bool
vector Vector2
return bool

Equals() public method

public Equals ( float x, float y ) : bool
x float
y float
return bool

Equals() public method

public Equals ( int x, int y ) : bool
x int
y int
return bool

ToString() public method

public ToString ( ) : string
return string

ToVector() public method

public ToVector ( ) : Vector2
return Vector2