|
Star Wars Risk
|
Services gérant les actions du joueur. Plus de détails...
Fonctions membres publiques | |
| PlayerActionsService (RiskGame game) | |
| Initialise une nouvelle instance de la classe PlayerActionsService | |
| void | PlaceArmy (Territory territory, int armyCount) |
| AttackResult | Attack (Territory from, Territory to, int armyCount) |
| bool | HandleReinforcement (Territory fromTerritory, Territory toTerritory, int nb) |
| void | Forfeit () |
| Abandonne la partie.<author>Alix Jaugey</author> | |
Fonctions membres publiques hérités de GameModel.Player.IPlayerActions | |
Propriétés | |
| PlayerActionType | CurrentAction [get, set] |
| Action actuelle du joueur. | |
Services gérant les actions du joueur.
<author>Alix Jaugey</author>
|
inline |
Initialise une nouvelle instance de la classe PlayerActionsService
| game | Instance du jeu en cours |
<author>Alix Jaugey</author>
|
inline |
Attaque un territoire voisin.
| from | Territoire qui attaque (appartenant au joueur courant) |
| to | Territoire voisin à attaquer (appartenant à un autre joueur) |
| armyCount | Nombre de troupes à utiliser pour l'attaque |
<author>Alix Jaugey</author> <author>Théo Cornu</author>
Implémente GameModel.Player.IPlayerActions.
|
inline |
Abandonne la partie.<author>Alix Jaugey</author>
Implémente GameModel.Player.IPlayerActions.
|
inline |
Gère l'action de renforcement des territoires.<author>Alix Jaugey</author> <author>Théo Cornu</author>
Implémente GameModel.Player.IPlayerActions.
|
inline |
Place des troupes sur un territoire.
| territory | Territoire sur lequel placer les troupes |
| armyCount | Nombre de troupes à placer |
<author>Alix Jaugey</author> <author>Théo Cornu</author>
Implémente GameModel.Player.IPlayerActions.
|
getset |
Action actuelle du joueur.
<author>Alix Jaugey</author>