| Class | SimulationClient |
| In: |
daimoku-server/simulationclient.rb
|
| Parent: | Object |
The SimulationClient handles the login of the Player and also creates the various Objects that the Player uses for IO, for the Simulation to use for output to the Player, and for the CharacterProxy object which serves as the proxy to the Simulation.
| character_proxy | [R] | |
| name | [R] | |
| password | [R] | |
| player_io | [R] | |
| player_lego_io | [R] | |
| session_id | [R] | |
| socket | [R] |
Other parts of the system will need access to the peer simulation clients to send output to the clients via their sockets
Builds the Character object, used inside the Matrix as to manipulate and query the database.
Builds the Player‘s IO object. The Player needs an IO object because Kernel.puts is not available while inside the Matrix
Login the Player and create the game Objects. The game Objects are needed to provide Player IO, to provide a way for the Matrix to send output to the Player, and for the CharacterProxy to interface to the Matrix.