Skip to main content

IGameCondition

An interface in Root.Township, Features.Gameplay.GameConditions.

A condition in the game that can be checked and tells listeners when it changes.

Properties​

MemberWhat it is
Action OnConditionChanged { get; set; }Callback run when the condition changes.

Methods​

MemberWhat it is
bool IsConditionMet()True if the condition holds right now.