added asfalt
This commit is contained in:
parent
586b70a9ba
commit
b5ab445967
6 changed files with 20 additions and 3 deletions
|
|
@ -13,10 +13,14 @@ public abstract class GameState {
|
|||
private Camera cam;
|
||||
|
||||
public GameState(String name){
|
||||
this(name, new Camera());
|
||||
}
|
||||
|
||||
public GameState(String name, Camera c){
|
||||
this.name = name;
|
||||
input = new InputHandler();
|
||||
init = false;
|
||||
cam = new Camera();
|
||||
cam = c;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue