C# 클래스 PGCGame.CoreTypes.BulletPool

A pool of bullets.
파일 보기 프로젝트 열기: GreatMindsRobotics/PGCGame

공개 메소드들

메소드 설명
BulletPool ( ) : System
GetBullet ( ) : Bullet

Gets a bullet from the pool.

ReturnBullet ( Bullet returnBullet ) : void

Returns a used bullet to the pool.

메소드 상세

BulletPool() 공개 메소드

public BulletPool ( ) : System
리턴 System

GetBullet() 공개 메소드

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

ReturnBullet() 공개 메소드

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