|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TetrisBlock | |
---|---|
net.sourceforge.cilib.games.game.tetris | |
net.sourceforge.cilib.games.game.tetris.shape |
Uses of TetrisBlock in net.sourceforge.cilib.games.game.tetris |
---|
Methods in net.sourceforge.cilib.games.game.tetris that return TetrisBlock | |
---|---|
TetrisBlock |
TetrisBlock.getClone()
Create a cloned copy of the current object and return it. |
Method parameters in net.sourceforge.cilib.games.game.tetris with type arguments of type TetrisBlock | |
---|---|
boolean |
TetrisGameState.collides(List<TetrisBlock> blocks)
Check whether one of the blocks in the list collides in the current grid |
Constructors in net.sourceforge.cilib.games.game.tetris with parameters of type TetrisBlock | |
---|---|
TetrisBlock(TetrisBlock other)
|
Uses of TetrisBlock in net.sourceforge.cilib.games.game.tetris.shape |
---|
Methods in net.sourceforge.cilib.games.game.tetris.shape that return TetrisBlock | |
---|---|
TetrisBlock |
AbstractShape.getBlock(int x,
int y)
|
TetrisBlock |
AbstractShape.getBottomMostBlock()
Get the bottom most block in this shape |
TetrisBlock |
AbstractShape.getBottomMostBlock(int x)
Return the lowest block in a specific column |
TetrisBlock |
AbstractShape.getLeftMostBlock()
Get the left most block in this shape |
TetrisBlock |
AbstractShape.getLeftMostBlock(int y)
Get the left most block in this shape for the given row |
TetrisBlock |
AbstractShape.getRightMostBlock()
Get the right most block in this shape |
TetrisBlock |
AbstractShape.getStaticBlock()
Each shape has one block that never changes position when it rotates. |
TetrisBlock |
AbstractShape.getTopMostBlock()
Get the top most block in this shape |
Methods in net.sourceforge.cilib.games.game.tetris.shape that return types with arguments of type TetrisBlock | |
---|---|
List<TetrisBlock> |
AbstractShape.getBlocks()
Get a list of all the TetrisBlocks for this shape |
List<TetrisBlock> |
AbstractShape.getBottomBlocks()
|
List<TetrisBlock> |
AbstractShape.getLeftBlocks()
|
Methods in net.sourceforge.cilib.games.game.tetris.shape with parameters of type TetrisBlock | |
---|---|
protected void |
AbstractShape.moveBlock(TetrisBlock block,
int amX,
int amY)
Move a specific block in this shape |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |