tModLoader v2024.09
A mod to make and play Terraria mods
MoonLordSky Class Reference

Inherits CustomSky.

Public Member Functions

 MoonLordSky (bool forPlayer)
 
override void Activate (Vector2 position, params object[] args)
 
override void Deactivate (params object[] args)
 
override void Draw (SpriteBatch spriteBatch, float minDepth, float maxDepth)
 
override float GetCloudAlpha ()
 
override bool IsActive ()
 
override void OnLoad ()
 
override Color OnTileColor (Color inColor)
 
override void Reset ()
 
override void Update (GameTime gameTime)
 
- Public Member Functions inherited from CustomSky
abstract void Draw (SpriteBatch spriteBatch, float minDepth, float maxDepth)
 
virtual float GetCloudAlpha ()
 
abstract bool IsActive ()
 
override bool IsVisible ()
 
virtual Color OnTileColor (Color inColor)
 
abstract void Reset ()
 
abstract void Update (GameTime gameTime)
 
- Public Member Functions inherited from GameEffect
abstract void Activate (Vector2 position, params object[] args)
 
abstract void Deactivate (params object[] args)
 
abstract bool IsVisible ()
 
void Load ()
 
virtual void OnLoad ()
 

Additional Inherited Members

- Public Attributes inherited from GameEffect
float Opacity
 
- Protected Attributes inherited from GameEffect
bool _isLoaded
 
EffectPriority _priority
 
- Properties inherited from GameEffect
bool IsLoaded [get]
 
EffectPriority Priority [get]
 

Member Function Documentation

◆ Activate()

override void MoonLordSky.Activate ( Vector2  position,
params object[]  args 
)
virtual

Implements GameEffect.

◆ Deactivate()

override void MoonLordSky.Deactivate ( params object[]  args)
virtual

Implements GameEffect.

◆ Draw()

override void MoonLordSky.Draw ( SpriteBatch  spriteBatch,
float  minDepth,
float  maxDepth 
)
virtual

Implements CustomSky.

◆ GetCloudAlpha()

override float MoonLordSky.GetCloudAlpha ( )
virtual

Reimplemented from CustomSky.

◆ IsActive()

override bool MoonLordSky.IsActive ( )
virtual

Implements CustomSky.

◆ OnLoad()

override void MoonLordSky.OnLoad ( )
virtual

Reimplemented from GameEffect.

◆ OnTileColor()

override Color MoonLordSky.OnTileColor ( Color  inColor)
virtual

Reimplemented from CustomSky.

◆ Reset()

override void MoonLordSky.Reset ( )
virtual

Implements CustomSky.

◆ Update()

override void MoonLordSky.Update ( GameTime  gameTime)
virtual

Implements CustomSky.