Method | Description | |
---|---|---|
Draw ( |
Display the progressbar using appropriate position,style and color
|
|
IsHit ( int x, int y ) : bool | ||
ProgressBar ( Backend parent, |
Create a new progress bar
|
|
Update ( |
Move progress bar (if animated)
|
public Draw ( |
||
gameTime | ||
return | void |
public ProgressBar ( Backend parent, |
||
parent | Backend | A parent object to pass events to |
spriteBatch | A spritebatch used for drawing | |
content | Microsoft.Xna.Framework.Content.ContentManager | A Contentmanager used for loading resources |
displayRect | The area of the progress bar | |
style | ProgressStyle | The design of the progress bar |
total | int | A maximum amount to be displayed on the progress bar |
start | int | The start value |
return | System |
public Update ( |
||
gameTime | ||
return | void |