FYFY 2.3
Loading...
Searching...
No Matches
FYFY.FamilyManager Class Reference

Manager of FYFY.Family. More...

Classes

struct  StackedCallback
 

Static Public Member Functions

static Family getFamily (params Matcher[] matchers)
 Gets the family defined by a set of FYFY.Matcher.
 

Properties

static int Count [get]
 Gets the number of families created.
 

Detailed Description

Manager of FYFY.Family.

Member Function Documentation

◆ getFamily()

static Family FYFY.FamilyManager.getFamily ( params Matcher[] matchers)
static

Gets the family defined by a set of FYFY.Matcher.

A Family is a container of GameObjects which respect constraints specified by FYFY.Matcher. Only GameObjects binded to FYFY are available in families.

This is the only way to get family reference. You cannot create a FYFY.Family object by yourself.

Returns
The reference of the corresponding family.
Parameters
matchersMatchers.

The documentation for this class was generated from the following file: