models
Class PowerUps

java.lang.Object
  extended by models.PowerUps

public class PowerUps
extends java.lang.Object


Constructor Summary
PowerUps(int min, int max)
           
 
Method Summary
 void cut_range()
           
 int getMax()
           
 int getMin()
           
 int getPriceCut()
           
 int getPriceHalf()
           
 void half_range()
          split the range into two half
 void setNumber(int num)
           
 void setRange(int max, int min)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerUps

public PowerUps(int min,
                int max)
Parameters:
int - min range
int - max range Constructor for the Power Up class
Method Detail

getPriceCut

public int getPriceCut()
Returns:
value of price_cut

getPriceHalf

public int getPriceHalf()
Returns:
value of price_half

getMin

public int getMin()
Returns:
int min range

getMax

public int getMax()
Returns:
int max range

setNumber

public void setNumber(int num)
Parameters:
integer - number

setRange

public void setRange(int max,
                     int min)
Parameters:
int - max range
int - min range
int - number

half_range

public void half_range()
split the range into two half


cut_range

public void cut_range()