Show / Hide Table of Contents

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
ThemeElement
Tomato
Implements
IColorHook
Inherited Members
ThemeElement.Timer
ThemeElement.IsInitialized()
ThemeElement.ColorUpdate(Theme)
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Core.Items
Assembly: Assembly-CSharp.dll
Syntax
public class Tomato : ThemeElement, IColorHook

Methods

| Improve this Doc View Source

Complete()

Completes this tomato by filling it in.

Declaration
[ContextMenu("Complete")]
public void Complete()
| Improve this Doc View Source

Initialize(PomodoroTimer, Boolean)

Declaration
public override void Initialize(PomodoroTimer pomodoroTimer, bool updateColors = true)
Parameters
Type Name Description
PomodoroTimer pomodoroTimer
System.Boolean updateColors
Overrides
ThemeElement.Initialize(PomodoroTimer, Boolean)
| Improve this Doc View Source

Reset()

In-completes this tomato by hollowing it out.

Declaration
[ContextMenu("Reset")]
public void Reset()

Implements

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