|
EzGL
|
Control component (command pattern). More...
#include "EzGL/Component.hpp"Go to the source code of this file.
Control component (command pattern).
Bind keyboard/mouse/controller statuses to specified data fields in your object. For example, an object with data["controls"]["jump"] = "SPACE" will have data["input"]["jump"] be set to true when the spacebar is pressed and false when the spacebar is not pressed.
1.8.15