C# Class ExampleMod.NPCs.Abomination.CaptiveElement

Inheritance: Terraria.ModLoader.ModNPC
Mostrar archivo Open project: bluemagic123/tModLoader Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AI ( ) : void
BossHeadSlot ( int &index ) : void
CanHitPlayer ( Player target, int &cooldownSlot ) : bool
FindFrame ( int frameHeight ) : void
GetColor ( ) : Color?
GetDebuff ( ) : int
GetDebuffTime ( ) : int
OnHitPlayer ( Player player, int dmgDealt, bool crit ) : void
PreDraw ( SpriteBatch spriteBatch, Color drawColor ) : bool
ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
SetDefaults ( ) : void
SetPosition ( Terraria.NPC npc ) : void

Method Details

AI() public method

public AI ( ) : void
return void

BossHeadSlot() public method

public BossHeadSlot ( int &index ) : void
index int
return void

CanHitPlayer() public method

public CanHitPlayer ( Player target, int &cooldownSlot ) : bool
target Terraria.Player
cooldownSlot int
return bool

FindFrame() public method

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

GetColor() public method

public GetColor ( ) : Color?
return Color?

GetDebuff() public method

public GetDebuff ( ) : int
return int

GetDebuffTime() public method

public GetDebuffTime ( ) : int
return int

OnHitPlayer() public method

public OnHitPlayer ( Player player, int dmgDealt, bool crit ) : void
player Terraria.Player
dmgDealt int
crit bool
return void

PreDraw() public method

public PreDraw ( SpriteBatch spriteBatch, Color drawColor ) : bool
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
drawColor Color
return bool

ScaleExpertStats() public method

public ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
numPlayers int
bossLifeScale float
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void

SetPosition() public static method

public static SetPosition ( Terraria.NPC npc ) : void
npc Terraria.NPC
return void