|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| struct | Lantern |
Public Member Functions | |
| override void | OnLoad () |
| void | ResetLantern (int i) |
| override void | Update (GameTime gameTime) |
| override void | Draw (SpriteBatch spriteBatch, float minDepth, float maxDepth) |
| override void | Activate (Vector2 position, params object[] args) |
| override void | Deactivate (params object[] args) |
| override bool | IsActive () |
| override void | Reset () |
| virtual Color | OnTileColor (Color inColor) |
| virtual float | GetCloudAlpha () |
| override bool | IsVisible () |
| void | Load () |
Public Attributes | |
| float | Opacity |
Protected Attributes | |
| bool | _isLoaded |
| EffectPriority | _priority |
Properties | |
| bool | IsLoaded [get] |
| EffectPriority | Priority [get] |
Private Member Functions | |
| void | GenerateLanterns (bool onlyMissing) |
| void | DrawLantern (SpriteBatch spriteBatch, Lantern lantern, Color opacity, Vector2 depthScale, Vector2 position, float alpha) |
Private Attributes | |
| bool | _active |
| bool | _leaving |
| float | _opacity |
| Asset< Texture2D > | _texture |
| Lantern[] | _lanterns |
| UnifiedRandom | _random = new UnifiedRandom() |
| int | _lanternsDrawing |
Static Private Attributes | |
| const float | slowDown = 0.5f |
Definition at line 11 of file LanternSky.cs.