Ejemplo n.º 1
0
 // in-game change requests
 public void requestChangeAct(PBlokConstants.blokAct act)
 {
     if(myPotency == PBlokConstants.blokPotency.modify){
         setAct (act);
     }
     else{
         Debug.Log("Invalid request for change on "
             + gameObject.name + "from ( " + myAct + " )" + " to "
             + "( " + act + " ) object unmodifiable");
     }
 }
Ejemplo n.º 2
0
 // editor has direct access -- but 'child' needs access
 public void setPotency(PBlokConstants.blokPotency potency)
 {
     myPotency = potency;
     changeInterface();
 }
Ejemplo n.º 3
0
 public void setAct(PBlokConstants.blokAct act)
 {
     myAct = act;
     changeInterface();
 }