Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public draw ( |
||
sb | ||
Результат | void |
public getReputation ( Clique clique ) : int | ||
clique | Clique | |
Результат | int |
public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Результат | void |
public loadSaveStructure ( |
||
data | The save data for the Hero | |
Результат | void |
public move ( Direction dir, float elapsed, bool collide = true ) : bool | ||
dir | Direction | |
elapsed | float | |
collide | bool | |
Результат | bool |
public setFollower ( PersonID follower ) : void | ||
follower | PersonID | |
Результат | void |
public setHealthBarVisible ( bool visible ) : void | ||
visible | bool | |
Результат | void |
public setReputation ( Clique clique, int repPoints ) : void | ||
clique | Clique | |
repPoints | int | |
Результат | void |
public shiftReputation ( Clique clique, int repPoints ) : void | ||
clique | Clique | |
repPoints | int | |
Результат | void |
public startPickpocket ( |
||
character | The targeted Character | |
Результат | void |