Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.horizon.game.tiles;
- import com.horizon.game.gfx.Render;
- import com.horizon.game.level.Level;
- public class MergeTile extends Tile {
- protected int tileX;
- protected int tileY;
- public MergeTile(int ID, int x, int y, boolean isSolid, boolean isLiquid,
- boolean isEmmiter, String name, int baseColour, String description) {
- super(ID, isSolid, isLiquid, isEmmiter, name, baseColour, description);
- this.tileX = x;
- this.tileY = y;
- }
- @Override
- public void render(int x, int y,Render render,double scale,Level level,int tileXa, int tileYa,int data,int vue) {
- render.renderTile(x, y, tileX+data, tileY ,"Merge", scale);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment