Started on platforms. Updated player movement.
This commit is contained in:
parent
68c7c8cbf3
commit
a0cc4ac0be
24 changed files with 1035 additions and 717 deletions
|
@ -8,16 +8,20 @@ public class GamePanel {
|
|||
private Window window;
|
||||
private Camera camera;
|
||||
|
||||
private Player player;
|
||||
|
||||
public GamePanel(Window window, Camera camera) {
|
||||
this.window = window;
|
||||
this.camera = camera;
|
||||
|
||||
player = new Player(window, camera);
|
||||
}
|
||||
|
||||
public void update() {
|
||||
|
||||
player.update();
|
||||
}
|
||||
|
||||
public void render() {
|
||||
|
||||
player.render();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue