Interface Updatable

Updatable is an object that is notified every tick via it's Updatable.update method call.

interface Updatable {
    remove?: boolean;
    update: (() => void);
}

Hierarchy (view full)

Properties

Properties

remove?: boolean

Once true, the object will be removed from updatables list and will no longer receive update calls.

update: (() => void)

Called every tick.

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.