Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

[Fix] - Proper Game class instanciation #15

@lafusew

Description

@lafusew

Game instance

Current behavior

Game class instantiation isn't properly understood and replays cause Game class to duplicates itself and breaks the game.

Wanted behavior

Being able to instantiate and re-instantiate the game through the Game constructor.

How

We might have to distinct Game class from "Engine" which handles the Canvas, the deltaTime and all rendering methods.

  • Add todos or create distinct issues when we know how we could do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions