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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParcelType

      ParcelType​(java.lang.String n, double r, double v, int ro, int c, int p, int m)
  • Method Details