C# Class geek.GameEngine.Visuals.Counter

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

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public Counter ( Func generator, Func binding ) : System
generator Func
binding Func
Résultat System

GetBoundingBox() public méthode

public GetBoundingBox ( bool absolute = false ) : Rectangle
absolute bool
Résultat Microsoft.Xna.Framework.Rectangle

Update() public méthode

public Update ( ) : void
Résultat void