메소드 | 설명 | |
---|---|---|
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 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 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 |