Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.thecherno.rain.level.tile;
- import com.thecherno.rain.graphics.Screen;
- import com.thecherno.rain.graphics.Sprite;
- public class Tile {
- public int x, y;
- public Sprite sprite;
- public static Tile grass = 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