C# Class PGCGame.CoreTypes.BulletPool

A pool of bullets.
Afficher le fichier Open project: GreatMindsRobotics/PGCGame

Méthodes publiques

Méthode Description
BulletPool ( ) : System
GetBullet ( ) : Bullet

Gets a bullet from the pool.

ReturnBullet ( Bullet returnBullet ) : void

Returns a used bullet to the pool.

Method Details

BulletPool() public méthode

public BulletPool ( ) : System
Résultat System

GetBullet() public méthode

Gets a bullet from the pool.
public GetBullet ( ) : Bullet
Résultat Bullet

ReturnBullet() public méthode

Returns a used bullet to the pool.
public ReturnBullet ( Bullet returnBullet ) : void
returnBullet Bullet The bullet to return.
Résultat void