Advertisement
Guest User

VoidTile.java

a guest
Oct 31st, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. package com.morgenmiddag.rain.level.tile;
  2.  
  3. import com.morgenmiddag.rain.graphics.Screen;
  4. import com.morgenmiddag.rain.graphics.Sprite;
  5.  
  6. public class VoidTile extends Tile {
  7.  
  8. public VoidTile(Sprite sprite) {
  9. super(sprite);
  10. }
  11.  
  12. public void render(int x, int y, Screen screen) {
  13. screen.renderTile(x << 4, y <<4, this);
  14. }
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement