C# Class ctac.PiecesModel

Show file Open project: dshook/centauri-tac

Public Methods

Method Description
Hero ( int playerId ) : PieceModel
Piece ( int id ) : PieceModel
PieceAt ( Vector2 tilePosition ) : PieceModel

Method Details

Hero() public method

public Hero ( int playerId ) : PieceModel
playerId int
return PieceModel

Piece() public method

public Piece ( int id ) : PieceModel
id int
return PieceModel

PieceAt() public method

public PieceAt ( Vector2 tilePosition ) : PieceModel
tilePosition UnityEngine.Vector2
return PieceModel