Advertisement
Guest User

Untitled

a guest
Jun 20th, 2013
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. package com.thethiorix.rain.level.tile;
  2.  
  3. import com.thethiorix.rain.graphics.Screen;
  4. import com.thethiorix.rain.graphics.Sprite;
  5.  
  6. public class Tile {
  7.  
  8. public int x, y;
  9. public Sprite sprite;
  10.  
  11. public static Tile grass = new GrassTile(Sprite.grass);
  12. public static Tile voidTile = new VoidTile(Sprite.voidSprite);
  13.  
  14. public Tile(Sprite sprite) {
  15. this.sprite = sprite;
  16. }
  17.  
  18. public void render(int x, int y, Screen screen) {
  19. }
  20.  
  21. public boolean solid() {
  22. return false;
  23. }
  24.  
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement