C# Class ExampleMod.NPCs.PuritySpirit.PurityShield

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

Méthodes publiques

Méthode Description
AI ( ) : void
CanBeHitByItem ( Player player, Item item ) : bool?
CanBeHitByProjectile ( Projectile projectile ) : bool?
FindFrame ( int frameHeight ) : void
HitEffect ( int hitDirection, double damage ) : void
PostDraw ( SpriteBatch spriteBatch, Color drawColor ) : void
PreDraw ( SpriteBatch spriteBatch, Color drawColor ) : bool
ScaleExpertStats ( int numPlayers, float bossLifeScale ) : void
SetDefaults ( ) : void

Private Methods

Méthode Description
CanBeHitByPlayer ( Player player ) : bool?

Method Details

AI() public méthode

public AI ( ) : void
Résultat void

CanBeHitByItem() public méthode

public CanBeHitByItem ( Player player, Item item ) : bool?
player Terraria.Player
item Terraria.Item
Résultat bool?

CanBeHitByProjectile() public méthode

public CanBeHitByProjectile ( Projectile projectile ) : bool?
projectile Terraria.Projectile
Résultat bool?

FindFrame() public méthode

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

HitEffect() public méthode

public HitEffect ( int hitDirection, double damage ) : void
hitDirection int
damage double
Résultat void

PostDraw() public méthode

public PostDraw ( SpriteBatch spriteBatch, Color drawColor ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
drawColor Color
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