"action",
"pause-menu",
"menu-select",
+ "console",
0
};
return oldControls[control] == false && controls[control] == true;
}
+bool
+Controller::released(Control control)
+{
+ return oldControls[control] == true && controls[control] == false;
+}
+
void
Controller::update()
{