Open BSBussell opened 1 year ago
Setup our event library so that the user can do
void jump() { return bEvent::keyDown('space'); } bEvent::addEvent("Jump", &jump); if (bEvent::Event("Jump")) { // jump logic }
That way if someone wanted to change the jump button they just had to update the jump event
Kinda sloppy but ... yeah, might go back to the drawing board with this, essentially just want it to be easy to define actions and then change them (similar to godot's system)
Setup our event library so that the user can do
That way if someone wanted to change the jump button they just had to update the jump event