Skip to content

Add object right away to the game objects array #238

@Marcolombo

Description

@Marcolombo

Right now if we want to add objects inside a loop, the init function will be loaded delayed, and the loop already changed indexes (or anything else) until the end (or at least, can't be predicted because of closures).
We should be able to add an object instantly to the objects array, so we should shoot an event or at least call a different callback when initialized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions