Skip to content

Custom Events #37

@BSBussell

Description

@BSBussell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions