Game Development Reference
In-Depth Information
The following is a block diagram that shows the dependencies among
different components:
The Pulse API design
The interaction of the game client with the server and other clients happens
primarily via two classes that expose the Pulse features:
GameClient
GameClientCallback
The GameClient is primarily used to send request to the server while creating a
room, joining a room, or sending a message to other players such as chat or
game state updates during game play.
The GameClientCallback is an AS3 interface class for which one of the classes
within the GameClient must implement. All notifications from the server are
processed by the Pulse layer and corresponding notifications are called on the
implementation of the callback class—for example, when a create room request
was successful or when a chat message was received, etc.
Search WWH ::




Custom Search