C# Class ExampleMod.Projectiles.PuritySpirit.VoidWorld

Inheritance: Terraria.ModLoader.ModProjectile
Show file Open project: bluemagic123/tModLoader

Public Methods

Method Description
AI ( ) : void
Colliding ( Rectangle projHitbox, Rectangle targetHitbox ) : bool?
ModifyHitPlayer ( Player target, int &damage, bool &crit ) : void
PreDraw ( SpriteBatch spriteBatch, Color lightColor ) : bool
ReceiveExtraAI ( BinaryReader reader ) : void
SendExtraAI ( BinaryWriter writer ) : void
SetDefaults ( ) : void

Private Methods

Method Description
NextPosition ( ) : Vector2

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?

ModifyHitPlayer() public method

public ModifyHitPlayer ( 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

ReceiveExtraAI() public method

public ReceiveExtraAI ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

SendExtraAI() public method

public SendExtraAI ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void