com.cliffblaster.game.level.tile
Class GrassTile

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

public class GrassTile
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
GrassTile(int i, int tex1)
           
 
Method Summary
 int getTextureFromFace(int face)
          Gets the texture for the face
 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
blocksLight, canExplode, canRenderFace, entityHit, flow, getFlowDivider, getStepSound, getTextureFromFace, getTileAABB, getTileRenderAABB, getTitle, glows, isMechanical, isOpaque, 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

GrassTile

public GrassTile(int i,
                 int tex1)
Method Detail

getTextureFromFace

public int getTextureFromFace(int face)
Description copied from class: Tile
Gets the texture for the face

Overrides:
getTextureFromFace in class Tile
Returns:
texCoord

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