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

Inheritance: IPlayerMoveForUpdate, ITradingMove
显示文件 Open project: MingStar/SimUniversity

Public Methods

Method 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 method

public ApplyTo ( Game game ) : void
game Game
return void

IsLegalToApply() public method

public IsLegalToApply ( Game game ) : bool
game Game
return bool

ToString() public method

public ToString ( ) : string
return string

TradingMove() public method

public TradingMove ( DegreeType tradeOut, int outNumber, DegreeType tradeIn ) : MingStar.SimUniversity.Contract
tradeOut DegreeType
outNumber int
tradeIn DegreeType
return MingStar.SimUniversity.Contract

Undo() public method

public Undo ( Game game ) : void
game Game
return void