C# Class PGCGame.CoreTypes.BulletPool

A pool of bullets.
显示文件 Open project: GreatMindsRobotics/PGCGame

Public Methods

Method 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 method

public BulletPool ( ) : System
return System

GetBullet() public method

Gets a bullet from the pool.
public GetBullet ( ) : Bullet
return Bullet

ReturnBullet() public method

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