RuleGenerateBoard

Prepares all Game and Map data for playing.  Calls <BuildBoard> in Game to copy all Map data from the current map into the playable board.  Calls RuleInitializeData to allow all RuleSets to create needed data fields in the Game and PlayerGame data.  Calls RuleGeneratePorts to create any needed random ports for the map.  Executes all extensions to RuleGenerateBoard so RuleSets can do any custom board generation they require.  Calls RuleFindPorts to store port locations in the Game data and orient them properly on the board.  Creates ChipObjects for all TileObjects in the board that are resource tiles.  Transmits all TileObjects and ChipObjects to the View for display vie the eventGameObjects Event.

Derived From

Rule, RuleExtensionMixin

Project

CoreRules

RuleSet

Core

Rules Called

RuleInitializeData, RuleGeneratePorts, RuleFindPorts

Logic Called

LogicTileIsResource

Transmits To

eventGameObjects

Still volatile.
Still volatile.
Initializes all Game and PlayerGame data required by loaded RuleSets.
A repository of all things rules-related.
Still volatile.
Provides a default implementation of placing random ports on the board.
Finds all port TileObjects on the board.
Stores game information for a roll chip laying on top of a tile.
Represents one hexagonally-shaped tile on the board.
A generic implementation of the Observer design pattern.
The default implementation of IRule for normal Game actions.
A mixin object for IRules that extends the IRule with other IRules.
Mixin container for logic that determines whether a tile is a resource tile.