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