C# Class MingStar.SimUniversity.Game.Move.TradingMove

Inheritance: IPlayerMoveForUpdate, ITradingMove
Afficher le fichier Open project: MingStar/SimUniversity

Méthodes publiques

Méthode Description
ApplyTo ( Game game ) : void
IsLegalToApply ( Game game ) : bool
ToString ( ) : string
TradingMove ( DegreeType tradeOut, int outNumber, DegreeType tradeIn ) : MingStar.SimUniversity.Contract
Undo ( Game game ) : void

Method Details

ApplyTo() public méthode

public ApplyTo ( Game game ) : void
game Game
Résultat void

IsLegalToApply() public méthode

public IsLegalToApply ( Game game ) : bool
game Game
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

TradingMove() public méthode

public TradingMove ( DegreeType tradeOut, int outNumber, DegreeType tradeIn ) : MingStar.SimUniversity.Contract
tradeOut DegreeType
outNumber int
tradeIn DegreeType
Résultat MingStar.SimUniversity.Contract

Undo() public méthode

public Undo ( Game game ) : void
game Game
Résultat void