C# Class geek.GameEngine.Behaviours.BlinkingBehaviour

The effect that makes the object blink N times per given time.
Inheritance: IBehaviour
Mostra file Open project: impworks/xna.geek.engine

Public Methods

Method Description
BlinkingBehaviour ( int times, float duration ) : geek.GameEngine.Visuals

Create a new instance of blinking behaviour.

UpdateObjectState ( DynamicObject obj ) : void

Method Details

BlinkingBehaviour() public method

Create a new instance of blinking behaviour.
public BlinkingBehaviour ( int times, float duration ) : geek.GameEngine.Visuals
times int Number of times to blink.
duration float Blinking duration.
return geek.GameEngine.Visuals

UpdateObjectState() public method

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