예제 #1
0
 protected void Start()
 {
     instance     = this;
     stateMachine = new StateMAchine <Elsa>(this, DoHouseWork.instance, ElsaGlobalState.instance);
 }
예제 #2
0
 protected void Start()
 {
     instance = this;
     //elsaの場合、ますはDoHouseWorkのステートにはいります
     stateMachine = new StateMAchine <Elsa>(this, DoHouseWork.instance, ElsaGlobalState.instance);
 }
예제 #3
0
 public Housework(Elsa _elsa)
 {
     elsa        = _elsa;
     triggerName = "housework";
     bobIsHome   = false;
 }
예제 #4
0
 public Cooking(Elsa _elsa)
 {
     elsa        = _elsa;
     triggerName = "cook";
     cookingTime = 8f; // Seran los segundos que tarde en cocinar
 }
예제 #5
0
 public Bathroom(Elsa _elsa)
 {
     elsa        = _elsa;
     triggerName = "bathroom";
 }