Method | Description | |
---|---|---|
converse ( |
||
dialogueCancel ( ) : void | ||
dialogueChoiceMove ( Direction dir ) : void | ||
dialogueConfirm ( ) : void | ||
draw ( |
||
getFollowerID ( ) : PersonID | ||
getHealth ( ) : int | ||
getReputation ( Clique clique ) : int | ||
getSaveStructure ( ) : |
Used for saving purposes
|
|
hasFollower ( ) : bool | ||
isPickpocketing ( ) : bool | ||
isTalking ( ) : bool | ||
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
loadSaveStructure ( |
Used for loading purposes
|
|
move ( Direction dir, float elapsed, bool collide = true ) : bool | ||
reset ( ) : void | ||
setFollower ( PersonID follower ) : void | ||
setHealth ( int health ) : void | ||
setHealthBarVisible ( bool visible ) : void | ||
setReputation ( Clique clique, int repPoints ) : void | ||
shiftHealth ( int dhp ) : void | ||
shiftReputation ( Clique clique, int repPoints ) : void | ||
shoot ( ) : void |
Causes the Hero to create a projectile and fire it in the direction he is facing; Hero is then responsible for updating and drawing this projectile
|
|
startPickpocket ( |
Begins the pickpocketing minigame with the given character as the target
|
|
stopFollower ( ) : void | ||
stopPickpocket ( ) : System.Item |
Stops the pickpocketing minigame and checks for success. If successful, an Item is returned; if not, Item.Nothing is returned
|
|
talkToSelf ( ) : void | ||
update ( float elapsed ) : void |
Method | Description | |
---|---|---|
Hero ( ) : System |
Initializes a Hero at the origin which will match the dimensions of its texture (when loaded)
|
|
Hero ( int x, int y ) : System |
Initalizes a Hero at the given positon which will match the dimensions of its texture (when loaded)
|
|
Hero ( int x, int y, int w, int h ) : System |
Initializes a Hero at the given position with the given dimensions
|
|
heroBulletCollideEvent ( IInteractable collider ) : void |
public dialogueChoiceMove ( Direction dir ) : void | ||
dir | Direction | |
return | void |
public draw ( |
||
sb | ||
return | void |
public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
return | void |
public loadSaveStructure ( |
||
data | The save data for the Hero | |
return | void |
public move ( Direction dir, float elapsed, bool collide = true ) : bool | ||
dir | Direction | |
elapsed | float | |
collide | bool | |
return | bool |
public setFollower ( PersonID follower ) : void | ||
follower | PersonID | |
return | void |
public setHealthBarVisible ( bool visible ) : void | ||
visible | bool | |
return | void |
public setReputation ( Clique clique, int repPoints ) : void | ||
clique | Clique | |
repPoints | int | |
return | void |
public shiftReputation ( Clique clique, int repPoints ) : void | ||
clique | Clique | |
repPoints | int | |
return | void |
public startPickpocket ( |
||
character | The targeted Character | |
return | void |