예제 #1
0
 public PanStuff()
 {
     stuffType  = PSType.butter;
     choppable  = true;
     measurable = true;
     clean      = true;
     Debug.Log("Default PanStuff Constructor Called");
 }
예제 #2
0
    public PanStuff(Type iType, Location iLocation, PSType sType)
    {
        itemType     = iType;
        itemLocation = iLocation;
        stuffType    = sType;

        if (stuffType == PSType.butter)
        {
            choppable = true;
        }

        if (stuffType != PSType.spray)
        {
            measurable = true;
        }
        clean = true;
        Debug.Log("PanStuff Constructor Called");
    }