|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cliffblaster.game.level.tile.Tile
com.cliffblaster.game.level.tile.TrampolineTile
public class TrampolineTile
Trampoline tile class
Field Summary | |
---|---|
float |
strength
|
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 | |
---|---|
TrampolineTile(int i,
int tex1,
float strength)
|
Method Summary | |
---|---|
void |
entityHit(com.cliffblaster.game.level.Level level,
int x,
int y,
int z,
com.cliffblaster.game.entity.Entity entity,
int face)
Trampoline physics, when hit it launches the entity back |
boolean |
isMechanical()
|
Methods inherited from class com.cliffblaster.game.level.tile.Tile |
---|
blocksLight, canExplode, canRenderFace, flow, getFlowDivider, getStepSound, getTextureFromFace, getTextureFromFace, getTileAABB, getTileRenderAABB, getTitle, glows, isOpaque, 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 |
Field Detail |
---|
public final float strength
Constructor Detail |
---|
public TrampolineTile(int i, int tex1, float strength)
Method Detail |
---|
public boolean isMechanical()
isMechanical
in class Tile
public void entityHit(com.cliffblaster.game.level.Level level, int x, int y, int z, com.cliffblaster.game.entity.Entity entity, int face)
entityHit
in class Tile
level
- x
- y
- z
- entity
- face
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |