Word Game Builder 2.0.1f2
Reference Manual
|
Represents selection information for a letter tile. More...
Public Member Functions | |
void | AddAllPlayers () |
Adds all active players in the scene to this tile. More... | |
bool | AddPlayer (IWordGamePlayer player) |
Adds a player that can select this tile, and that will be affected by a tile's selection. More... | |
bool | AddPlayer (string name) |
Adds a player that can select this tile, and that will be affected by a tile's selection (by name). More... | |
void | ClearPlayers () |
Clears all players that can select this tile, and that are currently affected by a tile's selection. More... | |
bool | ContainsPlayer (IWordGamePlayer player) |
Checks to see if a player can select this tile, and will affect a tile's selection. More... | |
bool | ContainsPlayer (string name) |
Checks to see if a player can select this tile, and will affect a tile's selection (by name). More... | |
IWordGamePlayer[] | GetPlayers () |
Gets all players that can select this tile, and that will be affected by a tile's selection. More... | |
bool | RemovePlayer (IWordGamePlayer player) |
Removes a player that can select this tile, and that is currently affected by a tile's selection. More... | |
Properties | |
DistanceSpace | distanceSpace [get, set] |
Controls how distance is calculated (pixel, local, or world space). More... | |
float | maxDistance [get, set] |
The maximum distance between tiles for selection. More... | |
bool | processWildcards [get, set] |
Whether or not the wildcard tile manager should be ignored when selecting a blank tile. More... | |
Camera | referenceCamera [get, set] |
The reference camera for calculating tile distances in pixels. If not set, this defaults to the main camera. More... | |
bool | selectAnyTile [get, set] |
If true, any tile can be selected in any order. If false, only tiles within maxDistance of the last tile can be selected. More... | |
SelectionMode | selectionMode [get, set] |
Controls how the tile is selected. More... | |
IWildcardTileManager | wildcardTileManager [get, set] |
Gets or sets the current wildcard tile manager, used for selecting wildcard tiles. More... | |
Represents selection information for a letter tile.
|
inline |
Adds all active players in the scene to this tile.
|
inline |
Adds a player that can select this tile, and that will be affected by a tile's selection.
player | The player to add. |
Letter tiles initialize with all active players by default.
player | The player to add. |
true
if the operation was successful, otherwise false
.
|
inline |
Adds a player that can select this tile, and that will be affected by a tile's selection (by name).
name | The player name to add. |
true
if the operation was successful, otherwise false
.
|
inline |
Clears all players that can select this tile, and that are currently affected by a tile's selection.
|
inline |
Checks to see if a player can select this tile, and will affect a tile's selection.
player | The player to check. |
true
if the player will affect a tile's selection, otherwise false
.
|
inline |
Checks to see if a player can select this tile, and will affect a tile's selection (by name).
name | The player name to check. |
true
if the player will affect a tile's selection, otherwise false
.
|
inline |
Gets all players that can select this tile, and that will be affected by a tile's selection.
This allocates a new array.
|
inline |
Removes a player that can select this tile, and that is currently affected by a tile's selection.
player | The player to remove. |
true
if the operation was successful, otherwise false
.
|
getset |
Controls how distance is calculated (pixel, local, or world space).
|
getset |
The maximum distance between tiles for selection.
If selectAnyTile = false, only tiles within maxDistance of the last tile can be selected.
|
getset |
Whether or not the wildcard tile manager should be ignored when selecting a blank tile.
If true, then blank tiles will be selected normally.
|
getset |
The reference camera for calculating tile distances in pixels. If not set, this defaults to the main camera.
This value is ignored if distances are calculated in world space.
|
getset |
If true, any tile can be selected in any order. If false, only tiles within maxDistance of the last tile can be selected.
|
getset |
Controls how the tile is selected.
|
getset |
Gets or sets the current wildcard tile manager, used for selecting wildcard tiles.
If there is only one wildcard tile manager in the scene, this value does not have to be set.