C# Class SpiritMod.NPCs.Snaptrapper.Snaptrapper

Inheritance: ModNPC, IBCRegistrable
显示文件 Open project: PhoenixBladez/SpiritMod

Public Methods

Method Description
AI ( ) : void
ChargeFrames ( ) : void
Charging ( ) : void
FindFrame ( int frameHeight ) : void
HitEffect ( int hitDirection, double damage ) : void
NPCLoot ( ) : void
OnHitPlayer ( Player target, int damage, bool crit ) : void
PreDraw ( SpriteBatch spriteBatch, Color drawColor ) : bool
PreNPCLoot ( ) : bool
RegisterToChecklist ( BossChecklistDataHandler.EntryType &entryType, float &progression, string &name, Func &downedCondition, BossChecklistDataHandler.BCIDData &identificationData, string &spawnInfo, string &despawnMessage, string &texture, string &headTextureOverride, Func &isAvailable ) : void
SetDefaults ( ) : void
SetStaticDefaults ( ) : void
SpawnChance ( NPCSpawnInfo spawnInfo ) : float

Method Details

AI() public method

public AI ( ) : void
return void

ChargeFrames() public method

public ChargeFrames ( ) : void
return void

Charging() public method

public Charging ( ) : void
return void

FindFrame() public method

public FindFrame ( int frameHeight ) : void
frameHeight int
return void

HitEffect() public method

public HitEffect ( int hitDirection, double damage ) : void
hitDirection int
damage double
return void

NPCLoot() public method

public NPCLoot ( ) : void
return void

OnHitPlayer() public method

public OnHitPlayer ( Player target, int damage, bool crit ) : void
target Player
damage int
crit bool
return void

PreDraw() public method

public PreDraw ( SpriteBatch spriteBatch, Color drawColor ) : bool
spriteBatch SpriteBatch
drawColor Color
return bool

PreNPCLoot() public method

public PreNPCLoot ( ) : bool
return bool

RegisterToChecklist() public method

public RegisterToChecklist ( BossChecklistDataHandler.EntryType &entryType, float &progression, string &name, Func &downedCondition, BossChecklistDataHandler.BCIDData &identificationData, string &spawnInfo, string &despawnMessage, string &texture, string &headTextureOverride, Func &isAvailable ) : void
entryType BossChecklistDataHandler.EntryType
progression float
name string
downedCondition Func
identificationData BossChecklistDataHandler.BCIDData
spawnInfo string
despawnMessage string
texture string
headTextureOverride string
isAvailable Func
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void

SetStaticDefaults() public method

public SetStaticDefaults ( ) : void
return void

SpawnChance() public method

public SpawnChance ( NPCSpawnInfo spawnInfo ) : float
spawnInfo NPCSpawnInfo
return float