C# Class SecretOfGaia.Terrain

Inheritance: SecretOfGaia.InventaireDeCarte
Mostra file Open project: NaturalSolutions/SecretOFGaiaOfTheDead Class Usage Examples

Protected Properties

Property Type Description
_cartesSupreposées List>.Dictionary
_taille int

Public Methods

Method Description
Terrain ( int curTaille ) : System
ajouterCarte ( SecretOfGaia.Carte curCarte, int position = -1, bool remplaceExistante = true ) : bool
carteduBasAPosition ( int position ) : SecretOfGaia.Carte
enleverCarte ( int position ) : SecretOfGaia.Carte

enleverCarte ( int position, bool isCarteduDessous ) : SecretOfGaia.Carte

poserSur ( int position, SecretOfGaia.Carte curCarte ) : bool

this ( int position ) : SecretOfGaia.Carte

Protected Methods

Method Description
enleverCarteSuperposée ( int position ) : SecretOfGaia.Carte

Method Details

Terrain() public method

public Terrain ( int curTaille ) : System
curTaille int
return System

ajouterCarte() public method

public ajouterCarte ( SecretOfGaia.Carte curCarte, int position = -1, bool remplaceExistante = true ) : bool
curCarte SecretOfGaia.Carte
position int
remplaceExistante bool
return bool

carteduBasAPosition() public method

public carteduBasAPosition ( int position ) : SecretOfGaia.Carte
position int
return SecretOfGaia.Carte

enleverCarte() public method

public enleverCarte ( int position ) : SecretOfGaia.Carte
position int
return SecretOfGaia.Carte

enleverCarte() public method

public enleverCarte ( int position, bool isCarteduDessous ) : SecretOfGaia.Carte
position int
isCarteduDessous bool
return SecretOfGaia.Carte

enleverCarteSuperposée() protected method

protected enleverCarteSuperposée ( int position ) : SecretOfGaia.Carte
position int
return SecretOfGaia.Carte

poserSur() public method

public poserSur ( int position, SecretOfGaia.Carte curCarte ) : bool
position int
curCarte SecretOfGaia.Carte
return bool

this() public method

public this ( int position ) : SecretOfGaia.Carte
position int
return SecretOfGaia.Carte

Property Details

_cartesSupreposées protected_oe property

clé: carte supperposée, valeur, carte sur laquelle est superposée
protected Dictionary> _cartesSupreposées
return List>.Dictionary

_taille protected_oe property

protected int _taille
return int