Table of Contents

Class Goal<TInfo>

Namespace
TinyLife.Goals
Assembly
Tiny Life.dll

A goal is a component of a GoalSet which can be completed. A goal has an underlying GoalInfo that it is constructed from.

public abstract class Goal<TInfo> : Goal, IGenericDataHolder where TInfo : GoalInfo

Type Parameters

TInfo
Inheritance
JsonTypeSafeGenericDataHolder
Goal<TInfo>
Implements
IGenericDataHolder
Derived
Inherited Members
JsonTypeSafeGenericDataHolder.GetDataKeys()
Extension Methods

Constructors

Goal(GoalSet, TInfo)

protected Goal(GoalSet set, TInfo info)

Parameters

set GoalSet
info TInfo

Properties

Info

The underlying goal info that this goal has been constructed from

public TInfo Info { get; }

Property Value

TInfo