MERGE INCOMING

master
GammelJan 6 years ago
parent 733cfe941b
commit d064d8d208

@ -24,7 +24,7 @@ public class Controller extends ApplicationAdapter implements InputProcessor{
MainMenu v; MainMenu v;
Entity[] e; Entity[] e;
Timer t; Timer t;
View m; GameScreen m;
Archer a; Archer a;
int[] tile; int[] tile;
int[] posRoom; int[] posRoom;
@ -246,7 +246,7 @@ public class Controller extends ApplicationAdapter implements InputProcessor{
if(v.click() == -1){} if(v.click() == -1){}
else if(v.click() == 0){ else if(v.click() == 0){
v = null; v = null;
m = new View(d); m = new GameScreen(d);
System.out.println("NICE"); System.out.println("NICE");
} }

@ -14,7 +14,7 @@ import com.dungeoncrawler.model.Dungeon;
import com.dungeoncrawler.model.Entity; import com.dungeoncrawler.model.Entity;
import com.dungeoncrawler.model.entities.*; import com.dungeoncrawler.model.entities.*;
public class View { public class GameScreen {
//PLAYER //PLAYER
Texture p; Texture p;
Sprite player; Sprite player;
@ -32,7 +32,7 @@ public class View {
TiledMap tm; TiledMap tm;
OrthographicCamera camera; OrthographicCamera camera;
public View(Dungeon d) { public GameScreen(Dungeon d) {
//PLAYER //PLAYER
p = new Texture("Player.png"); p = new Texture("Player.png");
Loading…
Cancel
Save