Class CollectibleFactory
java.lang.Object
CollectibleFactory
public class CollectibleFactory
- extends java.lang.Object
Produces random collectibles. TODO: setting of probabilities (see Jannis's Moleskine for ideas).
|
Method Summary |
Collectible |
collectible()
Spits out a random collectible which has a speed based on the "side" variable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
N_COLLECTIBLE_CLASSES
public static final int N_COLLECTIBLE_CLASSES
- See Also:
- Constant Field Values
C_HEALTH
public static final int C_HEALTH
- See Also:
- Constant Field Values
C_MOREGUNS
public static final int C_MOREGUNS
- See Also:
- Constant Field Values
C_FASTERGUNS
public static final int C_FASTERGUNS
- See Also:
- Constant Field Values
C_STRONGERGUNS
public static final int C_STRONGERGUNS
- See Also:
- Constant Field Values
C_ANGLEDGUNS
public static final int C_ANGLEDGUNS
- See Also:
- Constant Field Values
C_STRAIGHTGUNS
public static final int C_STRAIGHTGUNS
- See Also:
- Constant Field Values
C_SICKNESS
public static final int C_SICKNESS
- See Also:
- Constant Field Values
BASE_SPEED
public static final double BASE_SPEED
- See Also:
- Constant Field Values
side
protected int side
CollectibleFactory
public CollectibleFactory(int the_side)
collectible
public Collectible collectible()
- Spits out a random collectible which has a speed based on the "side" variable.