// 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);
// 	}
// 	
// }


import dev.codenmore.tilegame.gfx.Assets;
package dev.codenmore.tilegame.tiles;


public class RockTile extends Tile {

	public RockTile(int id) {
// 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/RockTile.java
import dev.codenmore.tilegame.gfx.Assets;

package dev.codenmore.tilegame.tiles;


public class RockTile extends Tile {

	public RockTile(int id) {
		super(Assets.stone, id);