프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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
|
public treatCollision ( Planets object2 ) : void | ||
object2 | Planets | An instance to a Planets |
리턴 | void |
public treatCollision ( Player object2 ) : void | ||
object2 | Player | An instance to a player |
리턴 | void |