tModLoader v0.11.8.9
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... | |
Static 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.
References Terraria.ModLoader.ModContent.GetTexture(), and Terraria.ModLoader.BackgroundTextureLoader.nextBackground.
|
staticprivate |
Definition at line 13 of file BackgroundTextureLoader.cs.
Referenced by Terraria.ModLoader.BackgroundTextureLoader.GetBackgroundSlot().
|
static |
Definition at line 12 of file BackgroundTextureLoader.cs.