Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Node Framework in RuneMate

Joined
Oct 21, 2015
Messages
19
Hi Community,

I have made bots in the past in different communities and have always prefered the Node / Task framework.
I was just wondering how the onLoop actuality functions.

As I used to do the following in other clients:
JavaScript:
@Override
    public void onLoop() {
        for (Task task : TASKS) //TASKS being an array of Task child-objects.
            if (task.activate()) {
                task.execute();
            }
    }

Kind regards,
Lavaert
 
Top