Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package tk.sketchistgames.level.tile;
- import tk.sketchistgames.graphics.Screen;
- import tk.sketchistgames.graphics.Sprite;
- public class Tile {
- public int x,y;
- public Sprite sprite;
- public static Tile grassTile = new GrassTile(Sprite.grass);
- public static Tile voidTile = new VoidTile(Sprite.voidSprite);
- public Tile(Sprite sprite) {
- this.sprite = sprite;
- }
- public void render(int x, int y, Screen screen){
- }
- public boolean solid() {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement