Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ..
- public class Tile { //abstract class
- ..
- public static Tile water = new WaterTile(Sprite.water);
- ..
- public static final int waterColor = 0xFF0026FF;
- ..
- public Tile(Sprite sprite) {
- this.sprite = sprite;
- }
- public void render(int x, int y, Screen screen) {
- }
- public boolean isSolid() {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment