Games::Risk::GUI - gui multiplexer poe session


version 4.000


Games::Risk uses various windows to display the game: the board of course, but also the window displaying the cards owned by the player, and some others.

Depending on the event, the controller needs to send events to a given window, or even to more than one. But it is clearly not the controller's job to know how the GUI works!

Therefore, Games::Risk::GUI is a poe session that will receive all the events fired by the controller, and forward them to the other windows. Of course, the controller now fires its events only to the Games::Risk::GUI session.

This poe session answers to the gui POE alias.


Jerome Quelin


This software is Copyright (c) 2008 by Jerome Quelin.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007