Add score player
This commit is contained in:
parent
89c691beca
commit
4ae8175fda
7 changed files with 267 additions and 246 deletions
38
src/globalgamejam/world/MainWorld.java
Normal file
38
src/globalgamejam/world/MainWorld.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package globalgamejam.world;
|
||||
|
||||
import globalgamejam.game.MainGame;
|
||||
import globalgamejam.tiles.Tile;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* Created by trexr on 20/01/2017.
|
||||
*/
|
||||
public class MainWorld {
|
||||
|
||||
private ArrayList<Tile> tiles;
|
||||
|
||||
private MainGame game;
|
||||
|
||||
public MainWorld(MainGame game){
|
||||
this.game = game;
|
||||
tiles = new ArrayList<Tile>();
|
||||
init();
|
||||
}
|
||||
|
||||
public void init(){
|
||||
}
|
||||
|
||||
public void update(){
|
||||
|
||||
}
|
||||
|
||||
public void render(){
|
||||
for(Tile t : tiles)t.render();
|
||||
}
|
||||
|
||||
public void destroy(){
|
||||
tiles.clear();
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue