C# 클래스 Monopoly.MonopolyHandlers.MonopolyActions

파일 보기 프로젝트 열기: pmpailis/RLMonopoly 1 사용 예제들

공개 메소드들

메소드 설명
MonopolyActions ( ) : System
buildOnArea ( int player, int group ) : int
buyProperty ( int player, int property ) : int
caclulateAllAssets ( int player ) : int
checkIfCompleted ( int player, int cp ) : void
checkPayment ( int player, int amount ) : bool
mortgageProperty ( int player, int property ) : int
payMoney ( int pFrom, int pTo, int amount ) : int
sellOnArea ( int player, int group ) : int
unmortgageProperty ( int player, int property ) : int

비공개 메소드들

메소드 설명
sellProperty ( int player ) : void

메소드 상세

MonopolyActions() 공개 메소드

public MonopolyActions ( ) : System
리턴 System

buildOnArea() 공개 메소드

public buildOnArea ( int player, int group ) : int
player int
group int
리턴 int

buyProperty() 공개 메소드

public buyProperty ( int player, int property ) : int
player int
property int
리턴 int

caclulateAllAssets() 공개 메소드

public caclulateAllAssets ( int player ) : int
player int
리턴 int

checkIfCompleted() 공개 메소드

public checkIfCompleted ( int player, int cp ) : void
player int
cp int
리턴 void

checkPayment() 공개 메소드

public checkPayment ( int player, int amount ) : bool
player int
amount int
리턴 bool

mortgageProperty() 공개 메소드

public mortgageProperty ( int player, int property ) : int
player int
property int
리턴 int

payMoney() 공개 메소드

public payMoney ( int pFrom, int pTo, int amount ) : int
pFrom int
pTo int
amount int
리턴 int

sellOnArea() 공개 메소드

public sellOnArea ( int player, int group ) : int
player int
group int
리턴 int

unmortgageProperty() 공개 메소드

public unmortgageProperty ( int player, int property ) : int
player int
property int
리턴 int