C# Class ExampleMod.Projectiles.PuritySpirit.VoidWorld

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?
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

Méthode Description
NextPosition ( ) : Vector2

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?

ModifyHitPlayer() public méthode

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

ReceiveExtraAI() public méthode

public ReceiveExtraAI ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Résultat void

SendExtraAI() public méthode

public SendExtraAI ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
Résultat void

SetDefaults() public méthode

public SetDefaults ( ) : void
Résultat void