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