C# Class geek.GameEngine.Visuals.Counter

The quantity indicator. Can be used to display number of lives, powerups, etc.
Inheritance: ObjectGroup
Mostra file Open project: impworks/xna.geek.engine

Public Methods

Method Description
Counter ( Func generator, Func binding ) : System
GetBoundingBox ( bool absolute = false ) : Rectangle
Update ( ) : void

Private Methods

Method Description
reset ( ) : void

Reposition all objects according to new settings.

updateLastPosition ( Rectangle box, bool isAdding ) : void

Update the cached position at which to insert the new object.

Method Details

Counter() public method

public Counter ( Func generator, Func binding ) : System
generator Func
binding Func
return System

GetBoundingBox() public method

public GetBoundingBox ( bool absolute = false ) : Rectangle
absolute bool
return Microsoft.Xna.Framework.Rectangle

Update() public method

public Update ( ) : void
return void