Word Game Builder 2.0.1f2
Reference Manual
Public Member Functions | Properties | List of all members
WildcardTileManager Class Reference

A manager class for selecting wildcard tiles. More...

+ Inheritance diagram for WildcardTileManager:
+ Collaboration diagram for WildcardTileManager:

Public Member Functions

void SelectWildcardTile (ILetterTile tile, WordGameLanguage lang, IWordGamePlayer player)
 Selects the specified tile as a wildcard with the specified language and player. More...
 
- Public Member Functions inherited from WGBBase
GetComponentFromInterface< T > ()
 Gets a component from its interface type. More...
 
GetComponentInChildrenFromInterface< T > ()
 Gets a component from its interface type, searching through this GameObject and all children. More...
 
T[] GetComponentsFromInterface< T > ()
 Gets all components from its interface type. More...
 
T[] GetComponentsInChildrenFromInterface< T > ()
 Gets all components from its interface type, searching through this GameObject and all children. More...
 
- Public Member Functions inherited from IMonoBehaviour
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

WGBEvent onWildcardTileSelect [get, set]
 This event fires when a selection attempt occurs on a blank tile. More...
 
- Properties inherited from WGBBase
object userData [get, set]
 Additional user data associated with this object. This is unused by default. More...
 
- Properties inherited from IWildcardTileManager
WGBEvent onWildcardTileSelect [get, set]
 This event fires when a blank tile is selected. More...
 
- Properties inherited from IMonoBehaviour
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from WGBBase
static T FindObjectOfTypeFromInterface< T > ()
 Finds the first object of interface type T. More...
 
static T[] FindObjectsOfTypeFromInterface< T > ()
 Finds all objects of interface type T. More...
 
static T InstantiateFromInterface< T > (T original)
 Instantiate a GameObject from interface type T. More...
 
static T InstantiateFromInterface< T > (T original, Vector3 position, Quaternion rotation)
 Instantiate a GameObject from interface type T at the specified position and rotation. More...
 
static void Log (object message, string prefix, string type)
 Logs a prefixed message. More...
 
static void Log (object message, string prefix, string type, Object context)
 Logs a prefixed message, with context. More...
 
static void LogError (object message, string prefix, string type)
 Logs a prefixed erorr. More...
 
static void LogError (object message, string prefix, string type, Object context)
 Logs a prefixed exception, with context. More...
 
static void LogException (System.Exception ex)
 Logs an exception. More...
 
static void LogException (System.Exception ex, Object context)
 Logs an exception, with context. More...
 
static void LogWarning (object message, string prefix, string type)
 Logs a prefixed warning. More...
 
static void LogWarning (object message, string prefix, string type, Object context)
 Logs a prefixed warning, with context. More...
 

Detailed Description

A manager class for selecting wildcard tiles.

This component does not have any implementation on if/how wildcard tiles should be selected. It only sends a message to a target game object, which provides the implementation.

Member Function Documentation

void SelectWildcardTile ( ILetterTile  tile,
WordGameLanguage  lang,
IWordGamePlayer  player 
)
inline

Selects the specified tile as a wildcard with the specified language and player.

Parameters
tileThe tile to use for wildcard selection.
langThe language to use for wildcard selection.
playerThe player to use for wildcard selection.

Implements IWildcardTileManager.

+ Here is the call graph for this function:

Property Documentation

WGBEvent onWildcardTileSelect
getset

This event fires when a selection attempt occurs on a blank tile.

Variables set:

  • WGBEvent.currentLanguage
  • WGBEvent.currentLetterTile
  • WGBEvent.currentWildcardTileManager
  • WGBEvent.currentPlayer

Implements IWildcardTileManager.