Source

pyGAP / game / inc / input / command_manager.h

Full commit
#ifndef _INPUT_COMMAND_MANAGER_
#define _INPUT_COMMAND_MANAGER_


namespace input {
class Command;


class CommandManager
{
public:
    CommandManager(int num_commands);
    ~CommandManager();

    void update();

    Command& operator [] (int index);
    Command& operator [] (int index) const;

private:
    CommandManager() {}

    int num_commands_;
    Command* commands_;
};


} // namespace input


#endif // _INPUT_COMMAND_MANAGER_