com.cliffblaster.game.level.tile
Class SpongeTile

java.lang.Object
  extended by com.cliffblaster.game.level.tile.Tile
      extended by com.cliffblaster.game.level.tile.SpongeTile

public class SpongeTile
extends Tile


Field Summary
static int RADIUS
           
 
Fields inherited from class com.cliffblaster.game.level.tile.Tile
BACK, bookshelf, bookshelf_empty, BOTTOM, bricks, canTick, canvas_black, canvas_blue, canvas_cyan, canvas_green, canvas_grey, canvas_indigo, canvas_lightblue, canvas_lime, canvas_magenta, canvas_orange, canvas_pink, canvas_red, canvas_turquoise, canvas_violet, canvas_white, canvas_yellow, coalblock, coalore, conveyor, dandelion, dirt, dislodgerblock, dynamite, elevator, FRONT, glass, goldblock, goldore, grass, gravel, id, ironblock, ironore, IS_LIQUID, lava, LAVA, leaves, LEFT, liquidType, log, MOVING, obsidian, plant, RIGHT, rose, sand, siding, sponge, STILL, stilllava, stillwater, stone, stonebrick, texCoord, tiles, TOP, trampoline, water, WATER, woodplank
 
Constructor Summary
SpongeTile(int i, int tex1)
           
 
Method Summary
static boolean hasSurroundingSponge(com.cliffblaster.game.level.Level level, int x, int y, int z)
           
 void onPlace(com.cliffblaster.game.level.Level level, int x, int y, int z)
           
 void onRemove(com.cliffblaster.game.level.Level level, int x, int y, int z)
           
 
Methods inherited from class com.cliffblaster.game.level.tile.Tile
blocksLight, canExplode, canRenderFace, entityHit, flow, getFlowDivider, getStepSound, getTextureFromFace, getTextureFromFace, getTileAABB, getTileRenderAABB, getTitle, glows, isMechanical, isOpaque, mayPick, onDestroy, onExplode, onNeighbourNotify, onNeighbourNotify, render, renderBackFace, renderFace, renderUnbound, setShape, setStepSound, setTick, setTitle, tick
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RADIUS

public static final int RADIUS
See Also:
Constant Field Values
Constructor Detail

SpongeTile

public SpongeTile(int i,
                  int tex1)
Method Detail

onPlace

public void onPlace(com.cliffblaster.game.level.Level level,
                    int x,
                    int y,
                    int z)
Overrides:
onPlace in class Tile

onRemove

public void onRemove(com.cliffblaster.game.level.Level level,
                     int x,
                     int y,
                     int z)
Overrides:
onRemove in class Tile

hasSurroundingSponge

public static boolean hasSurroundingSponge(com.cliffblaster.game.level.Level level,
                                           int x,
                                           int y,
                                           int z)