C# Класс Server.Player

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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