Method | Description | |
---|---|---|
Autoload ( string &name, string &texture, string &altTextures ) : bool | ||
CanTownNPCSpawn ( int numTownNPCs, int money ) : bool | ||
CheckConditions ( int left, int right, int top, int bottom ) : bool | ||
FindFrame ( int frameHeight ) : void | ||
GetChat ( ) : string | ||
HitEffect ( int hitDirection, double damage ) : void | ||
OnChatButtonClicked ( bool firstButton, bool &shop ) : void | ||
SetChatButtons ( string &button, string &button2 ) : void | ||
SetDefaults ( ) : void | ||
SetupShop ( |
||
TownNPCAttackCooldown ( int &cooldown, int &randExtraCooldown ) : void | ||
TownNPCAttackProj ( int &projType, int &attackDelay ) : void | ||
TownNPCAttackProjSpeed ( float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
TownNPCAttackStrength ( int &damage, float &knockback ) : void | ||
TownNPCName ( ) : string |
public Autoload ( string &name, string &texture, string &altTextures ) : bool | ||
name | string | |
texture | string | |
altTextures | string | |
return | bool |
public CanTownNPCSpawn ( int numTownNPCs, int money ) : bool | ||
numTownNPCs | int | |
money | int | |
return | bool |
public CheckConditions ( int left, int right, int top, int bottom ) : bool | ||
left | int | |
right | int | |
top | int | |
bottom | int | |
return | bool |
public HitEffect ( int hitDirection, double damage ) : void | ||
hitDirection | int | |
damage | double | |
return | void |
public OnChatButtonClicked ( bool firstButton, bool &shop ) : void | ||
firstButton | bool | |
shop | bool | |
return | void |
public SetChatButtons ( string &button, string &button2 ) : void | ||
button | string | |
button2 | string | |
return | void |
public SetupShop ( |
||
shop | ||
nextSlot | int | |
return | void |
public TownNPCAttackCooldown ( int &cooldown, int &randExtraCooldown ) : void | ||
cooldown | int | |
randExtraCooldown | int | |
return | void |
public TownNPCAttackProj ( int &projType, int &attackDelay ) : void | ||
projType | int | |
attackDelay | int | |
return | void |
public TownNPCAttackProjSpeed ( float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
multiplier | float | |
gravityCorrection | float | |
randomOffset | float | |
return | void |
public TownNPCAttackStrength ( int &damage, float &knockback ) : void | ||
damage | int | |
knockback | float | |
return | void |