// Path: Episode 34/TileGame/src/dev/codenmore/tilegame/Handler.java
// public class Handler {
// 	
// 	private Game game;
// 	private World world;
// 	
// 	public Handler(Game game){
// 		this.game = game;
// 	}
// 	
// 	public GameCamera getGameCamera(){
// 		return game.getGameCamera();
// 	}
// 	
// 	public KeyManager getKeyManager(){
// 		return game.getKeyManager();
// 	}
// 	
// 	public MouseManager getMouseManager(){
// 		return game.getMouseManager();
// 	}
// 	
// 	public int getWidth(){
// 		return game.getWidth();
// 	}
// 	
// 	public int getHeight(){
// 		return game.getHeight();
// 	}
// 
// 	public Game getGame() {
// 		return game;
// 	}
// 
// 	public void setGame(Game game) {
// 		this.game = game;
// 	}
// 
// 	public World getWorld() {
// 		return world;
// 	}
// 
// 	public void setWorld(World world) {
// 		this.world = world;
// 	}
// 
// }
// 
// Path: Episode 29/TileGame/src/dev/codenmore/tilegame/gfx/Assets.java
// public class Assets {
// 	
// 	private static final int width = 32, height = 32;
// 	
// 	public static BufferedImage dirt, grass, stone, tree, rock;
// 	public static BufferedImage[] player_down, player_up, player_left, player_right;
// 	public static BufferedImage[] zombie_down, zombie_up, zombie_left, zombie_right;
// 
// 	public static void init(){
// 		SpriteSheet sheet = new SpriteSheet(ImageLoader.loadImage("/textures/sheet.png"));
// 		
// 		player_down = new BufferedImage[2];
// 		player_up = new BufferedImage[2];
// 		player_left = new BufferedImage[2];
// 		player_right = new BufferedImage[2];
// 		
// 		player_down[0] = sheet.crop(width * 4, 0, width, height);
// 		player_down[1] = sheet.crop(width * 5, 0, width, height);
// 		player_up[0] = sheet.crop(width * 6, 0, width, height);
// 		player_up[1] = sheet.crop(width * 7, 0, width, height);
// 		player_right[0] = sheet.crop(width * 4, height, width, height);
// 		player_right[1] = sheet.crop(width * 5, height, width, height);
// 		player_left[0] = sheet.crop(width * 6, height, width, height);
// 		player_left[1] = sheet.crop(width * 7, height, width, height);
// 		
// 		zombie_down = new BufferedImage[2];
// 		zombie_up = new BufferedImage[2];
// 		zombie_left = new BufferedImage[2];
// 		zombie_right = new BufferedImage[2];
// 		
// 		zombie_down[0] = sheet.crop(width * 4, height * 2, width, height);
// 		zombie_down[1] = sheet.crop(width * 5, height * 2, width, height);
// 		zombie_up[0] = sheet.crop(width * 6, height * 2, width, height);
// 		zombie_up[1] = sheet.crop(width * 7, height * 2, width, height);
// 		zombie_right[0] = sheet.crop(width * 4, height * 3, width, height);
// 		zombie_right[1] = sheet.crop(width * 5, height * 3, width, height);
// 		zombie_left[0] = sheet.crop(width * 6, height * 3, width, height);
// 		zombie_left[1] = sheet.crop(width * 7, height * 3, width, height);
// 		
// 		dirt = sheet.crop(width, 0, width, height);
// 		grass = sheet.crop(width * 2, 0, width, height);
// 		stone = sheet.crop(width * 3, 0, width, height);
// 		tree = sheet.crop(0, 0, width, height * 2);
// 		rock = sheet.crop(0, height * 2, width, height);
// 	}
// 	
// }
// 
// Path: Episode 34/TileGame/src/dev/codenmore/tilegame/tiles/Tile.java
// public class Tile {
// 	
// 	//STATIC STUFF HERE
// 	
// 	public static Tile[] tiles = new Tile[256];
// 	public static Tile grassTile = new GrassTile(0);
// 	public static Tile dirtTile = new DirtTile(1);
// 	public static Tile rockTile = new RockTile(2);
// 	
// 	//CLASS
// 	
// 	public static final int TILEWIDTH = 64, TILEHEIGHT = 64;
// 	
// 	protected BufferedImage texture;
// 	protected final int id;
// 	
// 	public Tile(BufferedImage texture, int id){
// 		this.texture = texture;
// 		this.id = id;
// 		
// 		tiles[id] = this;
// 	}
// 	
// 	public void tick(){
// 		
// 	}
// 	
// 	public void render(Graphics g, int x, int y){
// 		g.drawImage(texture, x, y, TILEWIDTH, TILEHEIGHT, null);
// 	}
// 	
// 	public boolean isSolid(){
// 		return false;
// 	}
// 	
// 	public int getId(){
// 		return id;
// 	}
// 	
// }


import java.awt.Graphics;
import dev.codenmore.tilegame.Handler;
import dev.codenmore.tilegame.gfx.Assets;
import dev.codenmore.tilegame.tiles.Tile;
package dev.codenmore.tilegame.entities.statics;



public class Tree extends StaticEntity {

	public Tree(Handler handler, float x, float y) {
// Path: Episode 34/TileGame/src/dev/codenmore/tilegame/Handler.java
// public class Handler {
// 	
// 	private Game game;
// 	private World world;
// 	
// 	public Handler(Game game){
// 		this.game = game;
// 	}
// 	
// 	public GameCamera getGameCamera(){
// 		return game.getGameCamera();
// 	}
// 	
// 	public KeyManager getKeyManager(){
// 		return game.getKeyManager();
// 	}
// 	
// 	public MouseManager getMouseManager(){
// 		return game.getMouseManager();
// 	}
// 	
// 	public int getWidth(){
// 		return game.getWidth();
// 	}
// 	
// 	public int getHeight(){
// 		return game.getHeight();
// 	}
// 
// 	public Game getGame() {
// 		return game;
// 	}
// 
// 	public void setGame(Game game) {
// 		this.game = game;
// 	}
// 
// 	public World getWorld() {
// 		return world;
// 	}
// 
// 	public void setWorld(World world) {
// 		this.world = world;
// 	}
// 
// }
// 
// Path: Episode 29/TileGame/src/dev/codenmore/tilegame/gfx/Assets.java
// public class Assets {
// 	
// 	private static final int width = 32, height = 32;
// 	
// 	public static BufferedImage dirt, grass, stone, tree, rock;
// 	public static BufferedImage[] player_down, player_up, player_left, player_right;
// 	public static BufferedImage[] zombie_down, zombie_up, zombie_left, zombie_right;
// 
// 	public static void init(){
// 		SpriteSheet sheet = new SpriteSheet(ImageLoader.loadImage("/textures/sheet.png"));
// 		
// 		player_down = new BufferedImage[2];
// 		player_up = new BufferedImage[2];
// 		player_left = new BufferedImage[2];
// 		player_right = new BufferedImage[2];
// 		
// 		player_down[0] = sheet.crop(width * 4, 0, width, height);
// 		player_down[1] = sheet.crop(width * 5, 0, width, height);
// 		player_up[0] = sheet.crop(width * 6, 0, width, height);
// 		player_up[1] = sheet.crop(width * 7, 0, width, height);
// 		player_right[0] = sheet.crop(width * 4, height, width, height);
// 		player_right[1] = sheet.crop(width * 5, height, width, height);
// 		player_left[0] = sheet.crop(width * 6, height, width, height);
// 		player_left[1] = sheet.crop(width * 7, height, width, height);
// 		
// 		zombie_down = new BufferedImage[2];
// 		zombie_up = new BufferedImage[2];
// 		zombie_left = new BufferedImage[2];
// 		zombie_right = new BufferedImage[2];
// 		
// 		zombie_down[0] = sheet.crop(width * 4, height * 2, width, height);
// 		zombie_down[1] = sheet.crop(width * 5, height * 2, width, height);
// 		zombie_up[0] = sheet.crop(width * 6, height * 2, width, height);
// 		zombie_up[1] = sheet.crop(width * 7, height * 2, width, height);
// 		zombie_right[0] = sheet.crop(width * 4, height * 3, width, height);
// 		zombie_right[1] = sheet.crop(width * 5, height * 3, width, height);
// 		zombie_left[0] = sheet.crop(width * 6, height * 3, width, height);
// 		zombie_left[1] = sheet.crop(width * 7, height * 3, width, height);
// 		
// 		dirt = sheet.crop(width, 0, width, height);
// 		grass = sheet.crop(width * 2, 0, width, height);
// 		stone = sheet.crop(width * 3, 0, width, height);
// 		tree = sheet.crop(0, 0, width, height * 2);
// 		rock = sheet.crop(0, height * 2, width, height);
// 	}
// 	
// }
// 
// Path: Episode 34/TileGame/src/dev/codenmore/tilegame/tiles/Tile.java
// public class Tile {
// 	
// 	//STATIC STUFF HERE
// 	
// 	public static Tile[] tiles = new Tile[256];
// 	public static Tile grassTile = new GrassTile(0);
// 	public static Tile dirtTile = new DirtTile(1);
// 	public static Tile rockTile = new RockTile(2);
// 	
// 	//CLASS
// 	
// 	public static final int TILEWIDTH = 64, TILEHEIGHT = 64;
// 	
// 	protected BufferedImage texture;
// 	protected final int id;
// 	
// 	public Tile(BufferedImage texture, int id){
// 		this.texture = texture;
// 		this.id = id;
// 		
// 		tiles[id] = this;
// 	}
// 	
// 	public void tick(){
// 		
// 	}
// 	
// 	public void render(Graphics g, int x, int y){
// 		g.drawImage(texture, x, y, TILEWIDTH, TILEHEIGHT, null);
// 	}
// 	
// 	public boolean isSolid(){
// 		return false;
// 	}
// 	
// 	public int getId(){
// 		return id;
// 	}
// 	
// }


// Path: Episode 31/TileGame/src/dev/codenmore/tilegame/entities/statics/Tree.java
import java.awt.Graphics;
import dev.codenmore.tilegame.Handler;
import dev.codenmore.tilegame.gfx.Assets;
import dev.codenmore.tilegame.tiles.Tile;

package dev.codenmore.tilegame.entities.statics;



public class Tree extends StaticEntity {

	public Tree(Handler handler, float x, float y) {
		super(handler, x, y, Tile.TILEWIDTH, Tile.TILEHEIGHT * 2);