Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
public CanTownNPCSpawn ( int numTownNPCs, int money ) : bool | ||
numTownNPCs | int | |
money | int | |
Результат | bool |
public CheckConditions ( int left, int right, int top, int bottom ) : bool | ||
left | int | |
right | int | |
top | int | |
bottom | int | |
Результат | bool |
public FindFrame ( int frameHeight ) : void | ||
frameHeight | int | |
Результат | void |
public HitEffect ( int hitDirection, double damage ) : void | ||
hitDirection | int | |
damage | double | |
Результат | void |
public OnChatButtonClicked ( bool firstButton, bool &shop ) : void | ||
firstButton | bool | |
shop | bool | |
Результат | void |
public SetChatButtons ( string &button, string &button2 ) : void | ||
button | string | |
button2 | string | |
Результат | void |
public SetupShop ( |
||
shop | ||
nextSlot | int | |
Результат | void |
public TownNPCAttackCooldown ( int &cooldown, int &randExtraCooldown ) : void | ||
cooldown | int | |
randExtraCooldown | int | |
Результат | void |
public TownNPCAttackProj ( int &projType, int &attackDelay ) : void | ||
projType | int | |
attackDelay | int | |
Результат | void |
public TownNPCAttackProjSpeed ( float &multiplier, float &gravityCorrection, float &randomOffset ) : void | ||
multiplier | float | |
gravityCorrection | float | |
randomOffset | float | |
Результат | void |
public TownNPCAttackStrength ( int &damage, float &knockback ) : void | ||
damage | int | |
knockback | float | |
Результат | void |