Example #1
0
 //TODO resourceDeposit доделать
 public void SetRecipe(Data.Recipe recipe)
 {
     if (recipe == null)
     {
         state = EProducingState.empty;
     }
     this.recipe  = recipe;
     stageProcess = 0;
     state        = EProducingState.finished;
 }
Example #2
0
 public IsModuleState(EProducingState state)
 {
     this.state = state;
 }