Update
This commit is contained in:
parent
d6b9d09d50
commit
1e19b37301
32 changed files with 457 additions and 292 deletions
27
VBO/src/mrdev023/game/SoloGame.java
Normal file
27
VBO/src/mrdev023/game/SoloGame.java
Normal file
|
@ -0,0 +1,27 @@
|
|||
package mrdev023.game;
|
||||
|
||||
import mrdev023.world.*;
|
||||
|
||||
|
||||
public class SoloGame extends Game{
|
||||
|
||||
public SoloGame() {
|
||||
super(new SoloWorld(0,120,50));
|
||||
}
|
||||
|
||||
public void render(){
|
||||
this.world.render();
|
||||
}
|
||||
|
||||
public void update(){
|
||||
if(update >= 2){
|
||||
world.update();
|
||||
update = 0;
|
||||
}
|
||||
update++;
|
||||
}
|
||||
|
||||
public void renderGUI() {
|
||||
|
||||
}
|
||||
}
|
Reference in a new issue