C# Class SpaceCats_v2.ObjectFactoryNode

Show file Open project: acm-team/SpaceCats

Public Methods

Method Description
GetObject ( ) : SpaceCats_v2.GameObject
ObjectFactoryNode ( int objectTypeID, SpaceCats_v2.GameObject defaultObject, bool isPooled, int initialSize ) : System
ReturnToPool ( SpaceCats_v2.GameObject o ) : void

Method Details

GetObject() public method

public GetObject ( ) : SpaceCats_v2.GameObject
return SpaceCats_v2.GameObject

ObjectFactoryNode() public method

public ObjectFactoryNode ( int objectTypeID, SpaceCats_v2.GameObject defaultObject, bool isPooled, int initialSize ) : System
objectTypeID int
defaultObject SpaceCats_v2.GameObject
isPooled bool
initialSize int
return System

ReturnToPool() public method

public ReturnToPool ( SpaceCats_v2.GameObject o ) : void
o SpaceCats_v2.GameObject
return void