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

import gameEngine.entites.Entity;
import java.util.HashMap;

import static org.lwjgl.opengl.GL11.glClearColor;

public class EditorScene extends Scene {

    public EditorScene(){
        System.out.println("Active Editor scene");
        glClearColor(1, 1, 1, 0);
    }
    public EditorScene(HashMap<String, Entity> entities){
        this.entities = entities;
        System.out.println("Active Editor scene");
        glClearColor(1, 1, 1, 0);
    }

    @Override
    public void update(float dt) {
        updateDraggable();
        changeScene(1, dt);    //Gameシーンへの以降処理
    }

}