#include <TextureContainerActions.h>
Inheritance diagram for OpenGL::TextureSelector:
Public Member Functions | |
TextureSelector (TextureContainer *container) | |
std::string | run (const std::vector< std::string > ¶meters) |
The run() function can be called with the following arguments:
"activate <texture>" - calls activateTexture().
"deactivate <texture>" - calls deactivateTexture().
"toggle <texture>" - calls activateTexture() if deactivated and vice versa.
<texture> must be a valid texture number of the TextureContainer instance.
|
Creates a TextureSelector for the given TextureContainer.
|
|
Implementation of handle, must be supplied by concrete subclasses.
Implements Console::Action. |