Package Phase3
Class ParcelType
java.lang.Object
Phase3.ParcelType
public class ParcelType
extends java.lang.Object
Class where the type of a parcel is defined, with its value, color, rotation, etc.
-
Constructor Summary
Constructors Constructor Description ParcelType(java.lang.String n, double r, double v, int ro, int c, int p, int m)
-
Method Summary
Modifier and Type Method Description int
getColor()
int
getMaximum()
java.lang.String
getName()
int
getPlaced()
double
getRatio()
int
getRotations()
double
getValue()
void
setColor(int c)
void
setMaximum(int m)
void
setName(java.lang.String n)
void
setPlaced(int p)
void
setRatio(double r)
void
setRotations(int ro)
void
setValue(double v)
-
Constructor Details
-
ParcelType
ParcelType(java.lang.String n, double r, double v, int ro, int c, int p, int m)
-
-
Method Details
-
getName
public java.lang.String getName() -
getRatio
public double getRatio() -
getValue
public double getValue() -
getRotations
public int getRotations() -
getColor
public int getColor() -
getPlaced
public int getPlaced() -
getMaximum
public int getMaximum() -
setName
public void setName(java.lang.String n) -
setRatio
public void setRatio(double r) -
setValue
public void setValue(double v) -
setRotations
public void setRotations(int ro) -
setColor
public void setColor(int c) -
setPlaced
public void setPlaced(int p) -
setMaximum
public void setMaximum(int m)
-