Roulette 1.0
Roulette game template
Loading...
Searching...
No Matches
GBTemplates.Roulette.PoolList< T > Class Template Reference

Implementation of a custom pool list. More...

Inheritance diagram for GBTemplates.Roulette.PoolList< T >:
GBTemplates.Roulette.IPoolList< T >

Public Member Functions

void Add (T value)
 Adds the.
 
void Clear ()
 Clears the.
 
bool Contains (T value)
 Contains the.
 
void GeneratePool ()
 Generates the pool.
 
void GeneratePool (Transform parent)
 Generates the pool.
 
void GeneratePool (T Object, Transform parent)
 Generates the pool.
 
void GeneratePool (Transform parent, int amount)
 Generates the pool.
 
PoolInstantiate (Vector3 position, Quaternion rotation)
 Pools the instantiate.
 
void Remove (T value)
 Removes the.
 
void Remove (int index)
 Removes the.
 

Public Attributes

objPool
 
int AmountPool
 
Transform parent
 

Properties

this[int key] [get, set]
 
int Count [get]
 Gets the count.
 
First [get]
 Gets the first.
 
FirstFree [get]
 Gets the first free.
 
Last [get]
 Gets the last.
 
- Properties inherited from GBTemplates.Roulette.IPoolList< T >

Detailed Description

Implementation of a custom pool list.

Member Function Documentation

◆ Add()

void GBTemplates.Roulette.PoolList< T >.Add ( value)

Adds the.

Parameters
valueThe value.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ Clear()

void GBTemplates.Roulette.PoolList< T >.Clear ( )

Clears the.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ Contains()

bool GBTemplates.Roulette.PoolList< T >.Contains ( value)

Contains the.

Parameters
valueThe value.
Returns
A bool.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ GeneratePool() [1/3]

void GBTemplates.Roulette.PoolList< T >.GeneratePool ( Object,
Transform  parent 
)

Generates the pool.

Parameters
ObjectThe object.
parentThe parent.

◆ GeneratePool() [2/3]

void GBTemplates.Roulette.PoolList< T >.GeneratePool ( Transform  parent)

Generates the pool.

Parameters
parentThe parent.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ GeneratePool() [3/3]

void GBTemplates.Roulette.PoolList< T >.GeneratePool ( Transform  parent,
int  amount 
)

Generates the pool.

Parameters
parentThe parent.
amountThe amount.

◆ PoolInstantiate()

T GBTemplates.Roulette.PoolList< T >.PoolInstantiate ( Vector3  position,
Quaternion  rotation 
)

Pools the instantiate.

Parameters
positionThe position.
rotationThe rotation.
Returns
A T.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ Remove() [1/2]

void GBTemplates.Roulette.PoolList< T >.Remove ( int  index)

Removes the.

Parameters
indexThe index.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ Remove() [2/2]

void GBTemplates.Roulette.PoolList< T >.Remove ( value)

Removes the.

Parameters
valueThe value.

Implements GBTemplates.Roulette.IPoolList< T >.

Property Documentation

◆ Count

int GBTemplates.Roulette.PoolList< T >.Count
get

Gets the count.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ First

Gets the first.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ FirstFree

T GBTemplates.Roulette.PoolList< T >.FirstFree
get

Gets the first free.

Implements GBTemplates.Roulette.IPoolList< T >.

◆ Last

Gets the last.

Implements GBTemplates.Roulette.IPoolList< T >.


The documentation for this class was generated from the following file: