public MicrowaveRunning(Microwave microwave) { this.microwave = microwave; StateMsgForExamine = "running"; microwave.ScreenGlow.SetActive(true); microwave.OvenGlow.SetActive(true); microwave.spriteHandler.ChangeSprite(2); }
public MicrowaveBrokenOpen(Microwave microwave) { this.microwave = microwave; StateMsgForExamine = "broken and open"; microwave.spriteHandler.ChangeSprite(6); microwave.ScreenGlow.SetActive(false); microwave.OvenGlow.SetActive(false); microwave.HaltMicrowave(); }
public MicrowaveUnpoweredOpen(Microwave microwave) { this.microwave = microwave; StateMsgForExamine = "unpowered and open"; microwave.spriteHandler.ChangeSprite(4); microwave.ScreenGlow.SetActive(false); microwave.OvenGlow.SetActive(false); microwave.HaltMicrowave(); }
public MicrowaveOpen(Microwave microwave) { this.microwave = microwave; StateMsgForExamine = "open"; microwave.spriteHandler.ChangeSprite(1); microwave.ScreenGlow.SetActive(true); microwave.OvenGlow.SetActive(true); microwave.HaltMicrowave(); }
public MicrowaveIdle(Microwave microwave) { this.microwave = microwave; StateMsgForExamine = "idle"; microwave.spriteHandler.ChangeSprite(0); microwave.ScreenGlow.SetActive(true); microwave.OvenGlow.SetActive(false); microwave.HaltMicrowave(); }
private void Start() { microwave = GetComponent <Microwave>(); }