C# Class Server.Player

Afficher le fichier Open project: pmyoung/Advanced-Game-Project Class Usage Examples

Méthodes publiques

Свойство Type Description
powerUpDuration int
powerUpType string
reloadTime int

Méthodes publiques

Méthode Description
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

Method Details

treatCollision() public méthode

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
Résultat void

treatCollision() public méthode

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
Résultat void

Property Details

powerUpDuration public_oe property

public int powerUpDuration
Résultat int

powerUpType public_oe property

public string powerUpType
Résultat string

reloadTime public_oe property

public int reloadTime
Résultat int