C# Class MingStar.SimUniversity.Contract.Position

Inheritance: IntTuple
Mostra file Open project: MingStar/SimUniversity Class Usage Examples

Public Methods

Method Description
Add ( HexagonOffset offset ) : Position
Add ( int x, int y ) : Position
Equals ( object obj ) : bool
GetHashCode ( ) : int
Position ( int x, int y )

Method Details

Add() public method

public Add ( HexagonOffset offset ) : Position
offset HexagonOffset
return Position

Add() public method

public Add ( int x, int y ) : Position
x int
y int
return Position

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Position() public method

public Position ( int x, int y )
x int
y int