BBMOD_IEventListener

interface

BBMOD_IEventListener()

Example

function MyEventListener() : BBMOD_Class() constructor
{
    implement(BBMOD_IEventListener);

    on_event("test", function () {
        show_debug_message("It is working!");
    });
}

new MyEventListener().trigger_event("test"); // Prints "It is working!"
Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.