C# Class ExampleMod.Projectiles.ElementLaser

Inheritance: Terraria.ModLoader.ModProjectile
Datei anzeigen Open project: bluemagic123/tModLoader

Public Methods

Method 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 method

public AI ( ) : void
return void

Colliding() public method

public Colliding ( Rectangle projHitbox, Rectangle targetHitbox ) : bool?
projHitbox Microsoft.Xna.Framework.Rectangle
targetHitbox Microsoft.Xna.Framework.Rectangle
return bool?

GetColor() public method

public GetColor ( ) : Color
return Color

GetDebuff() public method

public GetDebuff ( ) : int
return int

GetDebuffTime() public method

public GetDebuffTime ( ) : int
return int

GetName() public method

public GetName ( ) : string
return string

OnHitPlayer() public method

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

PreDraw() public method

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

SetDefaults() public method

public SetDefaults ( ) : void
return void