Uses of Class
de.unifreiburg.informatik.tetris.game.block.CartPt

Uses of CartPt in de.unifreiburg.informatik.tetris.game.block
 

Methods in de.unifreiburg.informatik.tetris.game.block that return CartPt
 CartPt CartPt.add(CartPt that)
          Returns a new point that represents the sum of the two points.
 CartPt CartPt.rotateClockwise(CartPt that)
          Rotates the point (this) clockwise by 90 degrees around the parameter (that).
 CartPt CartPt.rotateCounterClockwise(CartPt that)
          Rotates the point (this) counter clockwise by 90 degrees around the parameter (that).
 

Methods in de.unifreiburg.informatik.tetris.game.block with parameters of type CartPt
 CartPt CartPt.add(CartPt that)
          Returns a new point that represents the sum of the two points.
 boolean Block.isFree(CartPt coords)
          Use this method to check if the block is at the given position.
 boolean BlockList.isFree(CartPt coords)
          Checks if the position (x,y) == coords is free.
 boolean Block.isMoveable(de.unifreiburg.informatik.tetris.game.Field f, CartPt coords)
          Checks if a move is possible.
 void CartPt.move(CartPt that)
          Moves the point, so p1.move(p2) does p1.x = p1.x + p2.x and p1.y = p1.y + p2.y.
 boolean Block.move(de.unifreiburg.informatik.tetris.game.Field f, CartPt coords)
          Moves the block.
 CartPt CartPt.rotateClockwise(CartPt that)
          Rotates the point (this) clockwise by 90 degrees around the parameter (that).
 CartPt CartPt.rotateCounterClockwise(CartPt that)
          Rotates the point (this) counter clockwise by 90 degrees around the parameter (that).
 boolean CartPt.samePos(CartPt that)
          Check if the two points are at the same position.
 void Block.unsavemove(CartPt that)
          This method is used to move the turnpoints.
 

Constructors in de.unifreiburg.informatik.tetris.game.block with parameters of type CartPt
Block(CartPt coords, java.awt.Color c)
          Create a new Block at position (x,y) if (x,y) = coords.