Terraria v1.4.4.9
Terraria source code documentation
|
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 () |
T | 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] |
T | 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 |
Definition at line 8 of file OverlayManager.cs.