com.cliffblaster.game.level.tile
Class GlassTile

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

public class GlassTile
extends Tile

Trampoline tile class

Author:
Vulpovile

Field Summary
 
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
GlassTile(int i, int tex1)
           
 
Method Summary
 boolean blocksLight()
          Tells whether the tile blocks light
protected  boolean canRenderFace(com.cliffblaster.game.level.Level level, int x, int y, int z, int layer)
          Determines whether the face can be rendered
 boolean isOpaque()
           
 
Methods inherited from class com.cliffblaster.game.level.tile.Tile
canExplode, entityHit, flow, getFlowDivider, getStepSound, getTextureFromFace, getTextureFromFace, getTileAABB, getTileRenderAABB, getTitle, glows, isMechanical, mayPick, onDestroy, onExplode, onNeighbourNotify, onNeighbourNotify, onPlace, onRemove, 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
 

Constructor Detail

GlassTile

public GlassTile(int i,
                 int tex1)
Method Detail

isOpaque

public boolean isOpaque()
Overrides:
isOpaque in class Tile

blocksLight

public boolean blocksLight()
Description copied from class: Tile
Tells whether the tile blocks light

Overrides:
blocksLight in class Tile
Returns:
blocksLight

canRenderFace

protected boolean canRenderFace(com.cliffblaster.game.level.Level level,
                                int x,
                                int y,
                                int z,
                                int layer)
Description copied from class: Tile
Determines whether the face can be rendered

Overrides:
canRenderFace in class Tile
Returns: