tModLoader v2024.10
A mod to make and play Terraria mods
OverlayManager Class Reference

Inherits EffectManager< Overlay >.

Public Member Functions

void Draw (SpriteBatch spriteBatch, RenderLayers layer, bool beginSpriteBatch=false)
 
override void OnActivate (Overlay overlay, Vector2 position)
 
void Update (GameTime gameTime)
 
- Public Member Functions inherited from EffectManager< Overlay >
Activate (string name, Vector2 position=default(Vector2), params object[] args)
 
void Bind (string name, T effect)
 
void Deactivate (string name, params object[] args)
 
void Load ()
 
virtual void OnActivate (T effect, Vector2 position)
 
virtual void OnDeactivate (T effect)
 

Additional Inherited Members

- Protected Attributes inherited from EffectManager< Overlay >
bool _isLoaded
 
- Properties inherited from EffectManager< Overlay >
bool IsLoaded [get]
 
this[string key] [get, set]