PHP 클래스 Slackwolf\Game\Role

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

공개 메소드들

메소드 설명
appearsAsWerewolf ( ) : boolean
getDescription ( ) : string Returns the description of the Role.
getName ( ) : string Returns the name of the current Role.
getSpecialRoles ( )
isRole ( $roleName ) : boolean Returns a bool on whether the Role name matches.
isWerewolfTeam ( ) : boolean

메소드 상세

appearsAsWerewolf() 공개 메소드

public appearsAsWerewolf ( ) : boolean
리턴 boolean

getDescription() 공개 메소드

Returns the description of the Role.
public getDescription ( ) : string
리턴 string

getName() 공개 메소드

Returns the name of the current Role.
public getName ( ) : string
리턴 string

getSpecialRoles() 공개 정적인 메소드

public static getSpecialRoles ( )

isRole() 공개 메소드

Returns a bool on whether the Role name matches.
public isRole ( $roleName ) : boolean
$roleName The Role name to compare against.
리턴 boolean

isWerewolfTeam() 공개 메소드

public isWerewolfTeam ( ) : boolean
리턴 boolean