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

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

Public Properties

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

Public Methods

Method Description
ApplyTo ( Game game ) : void
BuildLinkMove ( EdgePosition where ) : System
IsLegalToApply ( Game game ) : bool
ToString ( ) : string
Undo ( Game game ) : void

Method Details

ApplyTo() public method

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

BuildLinkMove() public method

public BuildLinkMove ( EdgePosition where ) : System
where MingStar.SimUniversity.Contract.EdgePosition
return System

IsLegalToApply() public method

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

ToString() public method

public ToString ( ) : string
return string

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[]