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

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

Public Properties

Property Type Description
NeededStudents MingStar.SimUniversity.Contract.StudentGroup[]

Public Methods

Method Description
ApplyTo ( Game game ) : void
IsLegalToApply ( Game game ) : bool
ToString ( ) : string
TryStartUpMove ( ) : System.Collections.Generic
Undo ( Game game ) : void

Private Methods

Method Description
TryStartUpMove ( bool isSuccessful ) : System.Collections.Generic

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

TryStartUpMove() public method

public TryStartUpMove ( ) : System.Collections.Generic
return System.Collections.Generic

Undo() public method

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

Property Details

NeededStudents public_oe static_oe property

public static StudentGroup[],MingStar.SimUniversity.Contract NeededStudents
return MingStar.SimUniversity.Contract.StudentGroup[]