|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Block in de.unifreiburg.informatik.tetris.game.block |
---|
Methods in de.unifreiburg.informatik.tetris.game.block with parameters of type Block | |
---|---|
boolean |
BlockList.add(Block b)
Adds b to the blocklist if there's no other block a the position of b. |
boolean |
BlockList.isFree(Block b)
Checks if the position of the block is free. |
boolean |
Block.isTurnableClockwise(de.unifreiburg.informatik.tetris.game.Field f,
Block b)
Checks if it's allowed to rotate the block (this) by 90 degrees clockwise around b. |
boolean |
Block.isTurnableCounterClockwise(de.unifreiburg.informatik.tetris.game.Field f,
Block b)
See isTurnableClockwise. |
boolean |
Block.turnClockwise(de.unifreiburg.informatik.tetris.game.Field f,
Block b)
Turns the block (this) clockwise by 90 degree around the parameter b, if this is possible. |
boolean |
Block.turnCounterClockwise(de.unifreiburg.informatik.tetris.game.Field f,
Block b)
See turnClockwise. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |