ResourceManager

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addEmptyScene
Scene addEmptyScene(string name, bool visible)
Undocumented in source. Be warned that the author may not have intended to support it.
addFont
Font addFont(string name, Font f)
Undocumented in source. Be warned that the author may not have intended to support it.
addTexture
Texture addTexture(string name, Texture t)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
fileExists
bool fileExists(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
freeFonts
void freeFonts()
Undocumented in source. Be warned that the author may not have intended to support it.
freeScenes
void freeScenes()
Undocumented in source. Be warned that the author may not have intended to support it.
freeTextures
void freeTextures()
Undocumented in source. Be warned that the author may not have intended to support it.
getFont
Font getFont(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getTexture
Texture getTexture(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
loadScene
Scene loadScene(string filename, bool visible)
Undocumented in source. Be warned that the author may not have intended to support it.
readText
string readText(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_scenes
DynamicArray!Scene _scenes;
Undocumented in source.
enableShadows
bool enableShadows;
Undocumented in source.
fonts
AArray!Font fonts;
Undocumented in source.
fs
VirtualFileSystem fs;
Undocumented in source.
imgFac
UnmanagedImageFactory imgFac;
Undocumented in source.
lm
LightManager lm;
Undocumented in source.
scenesByName
AArray!size_t scenesByName;
Undocumented in source.
shadow
ShadowMap shadow;
Undocumented in source.
textures
AArray!Texture textures;
Undocumented in source.

Inherited Members

From Drawable

draw
void draw(double dt)
Undocumented in source.

Meta