Newer
Older
AlgebraicDataflowArchitectureModel / GameEngine / src / main / java / gameEngine / scenes / GameScene.java
  1. package gameEngine.scenes;
  2.  
  3. import gameEngine.entites.Entity;
  4. import java.util.HashMap;
  5.  
  6. import static org.lwjgl.opengl.GL11.glClearColor;
  7.  
  8. public class GameScene extends Scene {
  9.  
  10. public GameScene(HashMap<String, Entity> entities) {
  11. this.entities = entities;//Editorのentitiesを持ってくる
  12. System.out.println("Active Game scene");
  13. glClearColor(1, 1, 1, 0);
  14. }
  15.  
  16. @Override
  17. public void update(float dt) {
  18. changeScene(0, dt); //Editorシーンへの以降処理
  19. }
  20.  
  21. }