Show / Hide Table of Contents

Interface ITimerState

Any class that implements this interface will have to define a body method for StateUpdate(). Then anytime the timer changes state such as transitioning from SETUP to RUNNING, all classes that implement this method will have their StateUpdate() method invoked. See enum PomodoroTimer.States for context.

Namespace: AdrianMiasik.Interfaces
Assembly: Assembly-CSharp.dll
Syntax
public interface ITimerState

Methods

| Improve this Doc View Source

StateUpdate(PomodoroTimer.States, Theme)

Invoked when the timers current state changes.

Declaration
void StateUpdate(PomodoroTimer.States state, Theme theme)
Parameters
Type Name Description
PomodoroTimer.States state

The new timer state

Theme theme

The current theme

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX