C# Class TugOfBaby.GameObjectManager

显示文件 Open project: martinvium/ngj2012 Class Usage Examples

Public Methods

Method Description
DespawnItems ( ) : void
DespawnItems ( List gameObjects ) : void
GameObjectManager ( World world, RenderManager renderMan, EffectManager effectManager ) : System
GetAll ( ) : List
GetAngel ( ) : GameObject
GetBaby ( ) : GameObject
GetDevil ( ) : GameObject
GetFemaleBunny ( ) : GameObject
GetItem ( RenderManager _type ) : GameObject
GetReaper ( ) : GameObject
IsFlipped ( GameObject gameObject ) : bool
SpawnItems ( ) : void
StartBunnyBoss ( ) : void
Update ( ) : void

Private Methods

Method Description
GetBase ( ) : GameObject
GetRandom ( int min, int max ) : int
OnCollision ( Fixture fixtureA, Fixture fixtureB, Contact contact ) : bool
OnItemCollision ( Fixture player, Fixture fixtureB, Contact contact ) : bool
OnReaperCollision ( Fixture Reaper, Fixture player, Contact contact ) : bool
RandomPlace ( ) : Vector2
getCircle ( float radius, GameObject _gameobject ) : Body

Method Details

DespawnItems() public method

public DespawnItems ( ) : void
return void

DespawnItems() public method

public DespawnItems ( List gameObjects ) : void
gameObjects List
return void

GameObjectManager() public method

public GameObjectManager ( World world, RenderManager renderMan, EffectManager effectManager ) : System
world FarseerPhysics.Dynamics.World
renderMan RenderManager
effectManager EffectManager
return System

GetAll() public method

public GetAll ( ) : List
return List

GetAngel() public method

public GetAngel ( ) : GameObject
return GameObject

GetBaby() public method

public GetBaby ( ) : GameObject
return GameObject

GetDevil() public method

public GetDevil ( ) : GameObject
return GameObject

GetFemaleBunny() public method

public GetFemaleBunny ( ) : GameObject
return GameObject

GetItem() public method

public GetItem ( RenderManager _type ) : GameObject
_type RenderManager
return GameObject

GetReaper() public method

public GetReaper ( ) : GameObject
return GameObject

IsFlipped() public method

public IsFlipped ( GameObject gameObject ) : bool
gameObject GameObject
return bool

SpawnItems() public method

public SpawnItems ( ) : void
return void

StartBunnyBoss() public method

public StartBunnyBoss ( ) : void
return void

Update() public method

public Update ( ) : void
return void