com.cliffblaster.game.level.tile
Class PlantTile

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

public class PlantTile
extends Tile

Grass 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
PlantTile(int i, int tex1)
           
 
Method Summary
 boolean blocksLight()
          Tells whether the tile blocks light
 AABB getTileAABB(com.cliffblaster.game.level.Level level, int x, int y, int z)
          Gets the AABB of the tile
 boolean isOpaque()
           
 void tick(com.cliffblaster.game.level.Level level, int x, int y, int z)
          Tile tick
 
Methods inherited from class com.cliffblaster.game.level.tile.Tile
canExplode, canRenderFace, entityHit, flow, getFlowDivider, getStepSound, getTextureFromFace, getTextureFromFace, getTileRenderAABB, getTitle, glows, isMechanical, mayPick, onDestroy, onExplode, onNeighbourNotify, onNeighbourNotify, onPlace, onRemove, render, renderBackFace, renderFace, renderUnbound, setShape, setStepSound, setTick, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlantTile

public PlantTile(int i,
                 int tex1)
Method Detail

tick

public void tick(com.cliffblaster.game.level.Level level,
                 int x,
                 int y,
                 int z)
Description copied from class: Tile
Tile tick

Overrides:
tick in class Tile

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

getTileAABB

public AABB getTileAABB(com.cliffblaster.game.level.Level level,
                        int x,
                        int y,
                        int z)
Description copied from class: Tile
Gets the AABB of the tile

Overrides:
getTileAABB in class Tile
Returns:
AABB