C# Class ExampleMod.Projectiles.ElementLaser

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

Méthodes publiques

Méthode Description
AI ( ) : void
Colliding ( Rectangle projHitbox, Rectangle targetHitbox ) : bool?
GetColor ( ) : Color
GetDebuff ( ) : int
GetDebuffTime ( ) : int
GetName ( ) : string
OnHitPlayer ( Player target, int damage, bool crit ) : void
PreDraw ( SpriteBatch spriteBatch, Color lightColor ) : bool
SetDefaults ( ) : void

Method Details

AI() public méthode

public AI ( ) : void
Résultat void

Colliding() public méthode

public Colliding ( Rectangle projHitbox, Rectangle targetHitbox ) : bool?
projHitbox Microsoft.Xna.Framework.Rectangle
targetHitbox Microsoft.Xna.Framework.Rectangle
Résultat bool?

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

GetName() public méthode

public GetName ( ) : string
Résultat string

OnHitPlayer() public méthode

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

PreDraw() public méthode

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

SetDefaults() public méthode

public SetDefaults ( ) : void
Résultat void