C# 클래스 PlayerReceiveUpdates, DefendAman

상속: MonoBehaviour
파일 보기 프로젝트 열기: CarsonRoscoe/DefendAman

공개 프로퍼티들

프로퍼티 타입 설명
playerID int

공개 메소드들

메소드 설명
Start ( ) : void
died ( JSONClass packet ) : void
new_stats ( JSONClass packet ) : void
took_damage ( JSONClass packet ) : void
update_position ( JSONClass player ) : void
use_potion ( JSONClass packet ) : void

비공개 메소드들

메소드 설명
pos_changed ( float newX, float newY ) : bool

메소드 상세

Start() 공개 메소드

public Start ( ) : void
리턴 void

died() 공개 메소드

public died ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
리턴 void

new_stats() 공개 메소드

public new_stats ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
리턴 void

took_damage() 공개 메소드

public took_damage ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
리턴 void

update_position() 공개 메소드

public update_position ( JSONClass player ) : void
player SimpleJSON.JSONClass
리턴 void

use_potion() 공개 메소드

public use_potion ( JSONClass packet ) : void
packet SimpleJSON.JSONClass
리턴 void

프로퍼티 상세

playerID 공개적으로 프로퍼티

public int playerID
리턴 int