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

import gameEngine.entites.Entity;
import gameEngine.entites.GameObject;
import gameEngine.entites.gameComponents.ColorController;
import gameEngine.entites.gameComponents.GameComponent;
import gameEngine.entites.gameComponents.Mesh;
import gameEngine.entites.gameComponents.MoveImage;
import gameEngine.input.Input;
import gameEngine.views.Window;

import java.awt.event.KeyEvent;
import java.util.HashMap;

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

public class GameScene extends Scene {

    public GameScene(HashMap<Integer, Entity> entities) {
        this.entities = entities;//Editorのentitiesを持ってくる
        System.out.println("Active Game scene");
        glClearColor(1, 1, 1, 0);
    }

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

}