com.jeffpalm.eggtris
Class ShapeGenerator

java.lang.Object
  extended by com.jeffpalm.eggtris.ShapeGenerator

public class ShapeGenerator
extends java.lang.Object


Field Summary
static int NUMBER_OF_SHAPES
           
protected  int originX
           
protected  int originY
           
protected  int size
           
 
Constructor Summary
ShapeGenerator(int size, int originX, int originY)
           
 
Method Summary
 MyShape createShape()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMBER_OF_SHAPES

public static int NUMBER_OF_SHAPES

size

protected int size

originX

protected int originX

originY

protected int originY
Constructor Detail

ShapeGenerator

public ShapeGenerator(int size,
                      int originX,
                      int originY)
Method Detail

createShape

public MyShape createShape()