C# 클래스 NerfTargets.Hubs.ClientCommunication

파일 보기 프로젝트 열기: ImagineLearning/NerfGallery

공개 메소드들

메소드 설명
AddClient ( string connectionId ) : void
ClientCommunication ( ) : System
GameOver ( int points ) : void
GetConnectedTargetIds ( ) : List
HideAllTargets ( ) : void
LevelEnd ( string name ) : void
LevelStart ( string name ) : void
RecordHit ( string connectionId, bool good ) : void
RemoveClient ( string connectionId ) : void
RestartGame ( ) : void
SetClientId ( string connectionId, int targetNumber ) : void
ShowCountdown ( string text ) : void
ShowRandomTarget ( int delay ) : void
ShowTargetByTargetNum ( int targetNum, System.TimeSpan delay = null ) : void

비공개 메소드들

메소드 설명
HideTarget ( string clientId ) : void
ShowTarget ( string clientId ) : void

메소드 상세

AddClient() 공개 메소드

public AddClient ( string connectionId ) : void
connectionId string
리턴 void

ClientCommunication() 공개 메소드

public ClientCommunication ( ) : System
리턴 System

GameOver() 공개 메소드

public GameOver ( int points ) : void
points int
리턴 void

GetConnectedTargetIds() 공개 메소드

public GetConnectedTargetIds ( ) : List
리턴 List

HideAllTargets() 공개 메소드

public HideAllTargets ( ) : void
리턴 void

LevelEnd() 공개 메소드

public LevelEnd ( string name ) : void
name string
리턴 void

LevelStart() 공개 메소드

public LevelStart ( string name ) : void
name string
리턴 void

RecordHit() 공개 메소드

public RecordHit ( string connectionId, bool good ) : void
connectionId string
good bool
리턴 void

RemoveClient() 공개 메소드

public RemoveClient ( string connectionId ) : void
connectionId string
리턴 void

RestartGame() 공개 메소드

public RestartGame ( ) : void
리턴 void

SetClientId() 공개 메소드

public SetClientId ( string connectionId, int targetNumber ) : void
connectionId string
targetNumber int
리턴 void

ShowCountdown() 공개 메소드

public ShowCountdown ( string text ) : void
text string
리턴 void

ShowRandomTarget() 공개 메소드

public ShowRandomTarget ( int delay ) : void
delay int
리턴 void

ShowTargetByTargetNum() 공개 메소드

public ShowTargetByTargetNum ( int targetNum, System.TimeSpan delay = null ) : void
targetNum int
delay System.TimeSpan
리턴 void