Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package de.hhu.team25;
- import de.hhu.team25.backend.*;
- import javafx.scene.image.Image;
- import java.util.List;
- class GameFrame {
- void drawWorld(){
- World world = new World();
- List tiles = world.getTileMap().getTiles();
- int[][] chunkCoordinates = world.getTileMap().getOrGenerateChunk(1, 1);
- drawTile( ,chunkCoordinates);
- }
- void drawTile(TileInfo tileInfo, int x, int y){
- Image tile = new Image(tileInfo.getDisplayImage());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement