Méthode | Description | |
---|---|---|
PickpocketSystem ( ) : System | ||
draw ( |
||
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
randomize ( ) : void |
Randomizes the speed and starting position of the arrow (to keep the game unpredictable)
|
|
setBarDifficulty ( float difficulty ) : void |
Sets bar width in terms of "difficulty"
|
|
success ( ) : bool |
Checks if the arrow is within the positive region (i.e. if pickpocket is successful
|
|
update ( |
public draw ( |
||
sb | ||
Résultat | void |
public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Résultat | void |
public setBarDifficulty ( float difficulty ) : void | ||
difficulty | float | 0.0 to 1.0, 0.0 for impossible, 1.0 for always win |
Résultat | void |
public update ( |
||
h | ||
elapsed | float | |
Résultat | void |