C# 클래스 Server.Player

파일 보기 프로젝트 열기: pmyoung/Advanced-Game-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
powerUpDuration int
powerUpType string
reloadTime int

공개 메소드들

메소드 설명
treatCollision ( Planets object2 ) : void

In case a collison is detected, this function should be called to treat how a player instance will respond in collison with another object

treatCollision ( Player object2 ) : void

In case a collison is detected, this function should be called to treat how a player instance will respond in collison with another object

메소드 상세

treatCollision() 공개 메소드

In case a collison is detected, this function should be called to treat how a player instance will respond in collison with another object
public treatCollision ( Planets object2 ) : void
object2 Planets An instance to a Planets
리턴 void

treatCollision() 공개 메소드

In case a collison is detected, this function should be called to treat how a player instance will respond in collison with another object
public treatCollision ( Player object2 ) : void
object2 Player An instance to a player
리턴 void

프로퍼티 상세

powerUpDuration 공개적으로 프로퍼티

public int powerUpDuration
리턴 int

powerUpType 공개적으로 프로퍼티

public string powerUpType
리턴 string

reloadTime 공개적으로 프로퍼티

public int reloadTime
리턴 int