Skip to content

ITeamMember

namespace Griff.Scenes;
public interface ITeamMember

A component that puts its entity (and what’s inside it) on a team: a Team, a TurnTaker, a strategy unit, building or faction, a fighter’s hitboxes. Every genre’s teams are the one idea (see Teams), so a platformer hero on the team “Blue” is a friend of the blue tactics units, takes turns as Blue and spends Blue’s gold. A script component can implement it too.

public abstract string? Team { get; }

The team’s name, e.g. “Blue”; empty for none.