Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Graphics.Effects.OverlayManager Class Reference

Public Member Functions

 OverlayManager ()
 
override void OnActivate (Overlay overlay, Vector2 position)
 
void Update (GameTime gameTime)
 
void Draw (SpriteBatch spriteBatch, RenderLayers layer)
 
void Bind (string name, T effect)
 
void Load ()
 
Activate (string name, Vector2 position=default(Vector2), params object[] args)
 
void Deactivate (string name, params object[] args)
 
virtual void OnActivate (T effect, Vector2 position)
 
virtual void OnDeactivate (T effect)
 

Protected Attributes

bool _isLoaded
 
Dictionary< string, T > _effects
 

Properties

bool IsLoaded [get]
 
this[string key] [get, set]
 

Private Attributes

LinkedList< Overlay >[] _activeOverlays = new LinkedList<Overlay>[Enum.GetNames(typeof(EffectPriority)).Length]
 
int _overlayCount
 

Static Private Attributes

const float OPACITY_RATE = 1f
 

Detailed Description

Definition at line 8 of file OverlayManager.cs.


The documentation for this class was generated from the following file: