public ProcessorIdle(FoodProcessor processor) { this.processor = processor; StateMsgForExamine = "idle"; processor.spriteHandler.ChangeSprite(0); processor.HaltProcessor(); }
public ProcessorUnpowered(FoodProcessor processor) { this.processor = processor; StateMsgForExamine = "unpowered"; //processor.AnimateProcessor(0); processor.spriteHandler.ChangeSprite(0); processor.HaltProcessor(); }
public ProcessorRunning(FoodProcessor processor) { this.processor = processor; StateMsgForExamine = "running"; processor.spriteHandler.ChangeSprite(1); }
private void Start() { foodProcessor = GetComponent <FoodProcessor>(); }