![]() |
Word Game Builder 2.0.1f2
Reference Manual
|
An interface defining a word game agent. Implementations must derive from MonoBehaviour in some form. More...
Public Member Functions | |
AsyncTask | FindWords () |
Finds a set of words, based on the player's current held tiles. More... | |
AsyncTask | FindWords (IList< ILetterTile > tiles) |
Finds a set of words, based on a list of letter tiles. More... | |
void | Stop () |
Stops all actions currently in progress by the agent. More... | |
![]() | |
void | CancelInvoke () |
Cancels all Invoke calls on this MonoBehaviour. More... | |
void | CancelInvoke (string methodName) |
Cancels all Invoke calls with name methodName on this behaviour. More... | |
int | GetInstanceID () |
Returns the instance id of the object. More... | |
void | Invoke (string methodName, float time) |
Invokes the method methodName in time seconds. More... | |
void | InvokeRepeating (string methodName, float time, float repeatRate) |
Invokes the method methodName in time seconds. More... | |
bool | IsInvoking () |
Is any invoke pending on this MonoBehaviour? More... | |
bool | IsInvoking (string methodName) |
Is any invoke on methodName pending? More... | |
Coroutine | StartCoroutine (IEnumerator routine) |
Starts a coroutine. More... | |
Coroutine | StartCoroutine (string methodName) |
Starts a coroutine named methodName. More... | |
Coroutine | StartCoroutine (string methodName, object value) |
Starts a coroutine named methodName. More... | |
void | StopAllCoroutines () |
Stops all coroutines running on this behaviour. More... | |
void | StopCoroutine (string methodName) |
Stops all coroutines named methodName running on this behaviour. More... | |
string | ToString () |
Returns the name of the game object. More... | |
Properties | |
AgentSearchInfo | lastSearchInfo [get] |
Gets the most recent search information found from the agent. More... | |
WGBEvent | onFindWords [get, set] |
This event should fire whenever the agent has found a set of words. More... | |
![]() | |
bool | enabled [get, set] |
Enabled Behaviours are Updated, disabled Behaviours are not. More... | |
GameObject | gameObject [get] |
The game object this component is attached to. A component is always attached to a game object. More... | |
HideFlags | hideFlags [get, set] |
Should the object be hidden, saved with the scene or modifiable by the user? More... | |
string | name [get, set] |
The name of the object. More... | |
string | tag [get, set] |
The tag of this game object. More... | |
Transform | transform [get] |
The Transform attached to this GameObject. A component is always attached to a transform. More... | |
object | userData [get, set] |
Additional user data associated with this object. This is unused by default. More... | |
An interface defining a word game agent. Implementations must derive from MonoBehaviour in some form.
Any implementation of this interface will work with other Word Game Builder classes. However, it is recommended to use the WordGameAgent class instead.
AsyncTask FindWords | ( | ) |
Finds a set of words, based on the player's current held tiles.
Implemented in WordGameAgent.
AsyncTask FindWords | ( | IList< ILetterTile > | tiles | ) |
Finds a set of words, based on a list of letter tiles.
tiles | A list of letter tiles to use when searching for words. |
Implemented in WordGameAgent.
void Stop | ( | ) |
Stops all actions currently in progress by the agent.
Implemented in WordGameAgent.
|
get |
Gets the most recent search information found from the agent.
|
getset |
This event should fire whenever the agent has found a set of words.