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