Skip to content

IFlags

namespace Griff.Scenes;
public interface IFlags : IGameService

The flags kept in the game’s save data.

public abstract bool Holds(string? needs)

True if a Needs Flag holds: empty, a flag that’s set, or “not” one that isn’t.

public abstract void Set(string name, bool on)

Sets or clears a flag.