![]() |
Terraria ModLoader
0.11.8.1
A mod to make and play Terraria mods
|
This is the class that keeps track of all modded background textures and their slots/IDs. More...
Static Public Member Functions | |
static int | GetBackgroundSlot (string texture) |
Returns the slot/ID of the background texture with the given name. More... | |
Public Attributes | |
const int | vanillaBackgroundTextureCount = Main.maxBackgrounds |
Static Private Attributes | |
static int | nextBackground = vanillaBackgroundTextureCount |
This is the class that keeps track of all modded background textures and their slots/IDs.
Definition at line 10 of file BackgroundTextureLoader.cs.
|
static |
Returns the slot/ID of the background texture with the given name.
Referenced by Terraria.ModLoader.Mod.AddBackgroundTexture(), and Terraria.ModLoader.ModContent.MusicExists().
|
staticprivate |
Definition at line 13 of file BackgroundTextureLoader.cs.
const int Terraria.ModLoader.BackgroundTextureLoader.vanillaBackgroundTextureCount = Main.maxBackgrounds |
Definition at line 12 of file BackgroundTextureLoader.cs.