C# 클래스 ProxyPlayer, GameProject

This implemtation of AbstractPlayer is for the Proxy version of the Player (the 'other' players in the scene). Its functions mostly just send Bolt events to eventually call the same functions on the corresponding OwnerPlayer.
상속: AbstractPlayer
파일 보기 프로젝트 열기: EECS390IndieTeam/GameProject 1 사용 예제들

공개 메소드들

메소드 설명
Die ( string killer, int weaponID ) : void
MoveTo ( Vector3 position, Quaternion rotation ) : void
RespawnAt ( Vector3 position, Quaternion rotation ) : void
TakeDamage ( float Damage, string attackerName, Vector3 direction, int weaponID ) : void

메소드 상세

Die() 공개 메소드

public Die ( string killer, int weaponID ) : void
killer string
weaponID int
리턴 void

MoveTo() 공개 메소드

public MoveTo ( Vector3 position, Quaternion rotation ) : void
position Vector3
rotation Quaternion
리턴 void

RespawnAt() 공개 메소드

public RespawnAt ( Vector3 position, Quaternion rotation ) : void
position Vector3
rotation Quaternion
리턴 void

TakeDamage() 공개 메소드

public TakeDamage ( float Damage, string attackerName, Vector3 direction, int weaponID ) : void
Damage float
attackerName string
direction Vector3
weaponID int
리턴 void