C# 클래스 MBC.Shared.Attributes.CapabilitiesAttribute

Provides information about the various GameModes that a Controller has been designed for. Causes a Controller to be loaded only in the given GameModes.
상속: ControllerAttribute
파일 보기 프로젝트 열기: aiclub/Mohawk_Battleship 1 사용 예제들

공개 메소드들

메소드 설명
CapabilitiesAttribute ( ) : System

Sets the GameModes compatible to the modes provided.

CompatibleWith ( GameMode mode ) : bool

Checks if the Controller is compatible with the mode

메소드 상세

CapabilitiesAttribute() 공개 메소드

Sets the GameModes compatible to the modes provided.
public CapabilitiesAttribute ( ) : System
리턴 System

CompatibleWith() 공개 메소드

Checks if the Controller is compatible with the mode
public CompatibleWith ( GameMode mode ) : bool
mode GameMode The to check.
리턴 bool