|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jeffpalm.eggtris.MyShape
com.jeffpalm.eggtris.LeftL
public class LeftL
Extends Shape to produce an L shape.
Eggtris.Shape| Field Summary |
|---|
| Fields inherited from class com.jeffpalm.eggtris.MyShape |
|---|
bricks, size, x, y |
| Constructor Summary | |
|---|---|
LeftL(int size,
int x,
int y)
Instantiates a new LeftL. |
|
| Method Summary | |
|---|---|
boolean |
rotate(Board board)
Over-rides Shape's rotate. |
| Methods inherited from class com.jeffpalm.eggtris.MyShape |
|---|
draw, givesItsBricksTo, moveDown, moveLeft, moveRight, moveUp, setX, setY |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LeftL(int size,
int x,
int y)
size - Size of each Brick.x - Initial origin x position.y - Initial origin y position.| Method Detail |
|---|
public boolean rotate(Board board)
rotate in class MyShapeboard - Board on which to rotate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||