Class Tomato
A ThemeElement image used to represent a tomato in two states: Incomplete (Hollow) or Complete (Filled-in). (Also see TomatoCounter)
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Tomato
Implements
Inherited Members
Namespace: AdrianMiasik.Components.Core.Items
Assembly: Assembly-CSharp.dll
Syntax
public class Tomato : ThemeElement, IColorHook
Methods
| Improve this Doc View SourceComplete()
Completes this tomato by filling it in.
Declaration
[ContextMenu("Complete")]
public void Complete()
Initialize(PomodoroTimer, Boolean)
Declaration
public override void Initialize(PomodoroTimer pomodoroTimer, bool updateColors = true)
Parameters
Type | Name | Description |
---|---|---|
PomodoroTimer | pomodoroTimer | |
System.Boolean | updateColors |
Overrides
| Improve this Doc View SourceReset()
In-completes this tomato by hollowing it out.
Declaration
[ContextMenu("Reset")]
public void Reset()