Newer
Older
AlgebraicDataflowArchitectureModel / GameEngine / src / main / java / gameEngine / scenes / Scene.java
package gameEngine.scenes;

import gameEngine.entites.Camera;
import gameEngine.entites.GameObject;

import java.util.HashMap;

public abstract class Scene {

    private Camera camera;
    public HashMap<Integer, GameObject> gameObjects = new HashMap<>();

    public Scene(){
    }

    public abstract void update(float dt);

    public void createNewObject() {
    }
    public void addComponent(GameObject selectedObject) {
    }

}