- package gameEngine.scenes;
- import gameEngine.entites.Entity;
- import java.util.HashMap;
- import static org.lwjgl.opengl.GL11.glClearColor;
- public class GameScene extends Scene {
- public GameScene(HashMap<String, 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シーンへの以降処理
- }
- }