C# Class geek.GameEngine.Behaviours.TimebombBehaviour

The time bomb behaviour makes the object destroy itself in a given amount of time.
Inheritance: IBehaviour
Mostra file Open project: impworks/xna.geek.engine

Public Methods

Method Description
TimebombBehaviour ( float timeToLive ) : geek.GameEngine.Visuals
UpdateObjectState ( DynamicObject obj ) : void

Method Details

TimebombBehaviour() public method

public TimebombBehaviour ( float timeToLive ) : geek.GameEngine.Visuals
timeToLive float
return geek.GameEngine.Visuals

UpdateObjectState() public method

public UpdateObjectState ( DynamicObject obj ) : void
obj geek.GameEngine.Visuals.DynamicObject
return void