C# Class ExampleMod.NPCs.PuritySpirit.PuritySpiritSky

Inheritance: Terraria.Graphics.Effects.CustomSky
Afficher le fichier Open project: bluemagic123/tModLoader

Méthodes publiques

Méthode Description
Activate ( Vector2 position ) : void
Deactivate ( ) : void
Draw ( SpriteBatch spriteBatch, float minDepth, float maxDepth ) : void
GetCloudAlpha ( ) : float
IsActive ( ) : bool
Reset ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
UpdatePuritySpiritIndex ( ) : bool

Method Details

Activate() public méthode

public Activate ( Vector2 position ) : void
position Vector2
Résultat void

Deactivate() public méthode

public Deactivate ( ) : void
Résultat void

Draw() public méthode

public Draw ( SpriteBatch spriteBatch, float minDepth, float maxDepth ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
minDepth float
maxDepth float
Résultat void

GetCloudAlpha() public méthode

public GetCloudAlpha ( ) : float
Résultat float

IsActive() public méthode

public IsActive ( ) : bool
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void