#include <src/core/input/InputCommands.h>
Public Member Functions | |
bool | execute (float abs=1.0f, float rel=1.0f) |
Executes a parameter command. The commmand string is not directly executed, but instead stored in a buffer list so that values can be combined. | |
ParamCommand () | |
Public Attributes | |
BufferedParamCommand * | paramCommand_ |
float | scale_ |
orxonox::ParamCommand::ParamCommand | ( | ) | [inline] |
bool orxonox::ParamCommand::execute | ( | float | abs = 1.0f , |
|
float | rel = 1.0f | |||
) | [virtual] |
Executes a parameter command. The commmand string is not directly executed, but instead stored in a buffer list so that values can be combined.
Implements orxonox::BaseCommand.
References orxonox::BufferedParamCommand::abs_, paramCommand_, orxonox::BufferedParamCommand::rel_, and scale_.
Referenced by execute(), and orxonox::Button::parse().
Referenced by execute(), and orxonox::Button::parse().