C# Class ExampleMod.NPCs.Abomination.CaptiveElement

Inheritance: Terraria.ModLoader.ModNPC
Afficher le fichier Open project: bluemagic123/tModLoader Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public AI ( ) : void
Résultat void

BossHeadSlot() public méthode

public BossHeadSlot ( int &index ) : void
index int
Résultat void

CanHitPlayer() public méthode

public CanHitPlayer ( Player target, int &cooldownSlot ) : bool
target Terraria.Player
cooldownSlot int
Résultat bool

FindFrame() public méthode

public FindFrame ( int frameHeight ) : void
frameHeight int
Résultat void

GetColor() public méthode

public GetColor ( ) : Color?
Résultat Color?

GetDebuff() public méthode

public GetDebuff ( ) : int
Résultat int

GetDebuffTime() public méthode

public GetDebuffTime ( ) : int
Résultat int

OnHitPlayer() public méthode

public OnHitPlayer ( Player player, int dmgDealt, bool crit ) : void
player Terraria.Player
dmgDealt int
crit bool
Résultat void

PreDraw() public méthode

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

ScaleExpertStats() public méthode

public ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
numPlayers int
bossLifeScale float
Résultat void

SetDefaults() public méthode

public SetDefaults ( ) : void
Résultat void

SetPosition() public static méthode

public static SetPosition ( Terraria.NPC npc ) : void
npc Terraria.NPC
Résultat void