Games::Risk::Tk::Continents - continents information
GR::Tk::Continents implements a POE session,
creating a Tk window to list the continents of the map and their associated bonus.
The methods are in fact the events accepted by the session.
A Tk window that will be the parent of the toplevel window created. This parameter is mandatory.
$K->post( 'gui-continents' => chown => $country, $looser);
Update the country count of player for a given continent.
$K->post( 'gui-continents' => player_add => $player );
Add a new column in the table to display the new player.
$K->post( continents => 'shutdown', $destroy );
Kill current session. If
$destroy is true, the toplevel window will also be destroyed.
$K->post( 'gui-continents' => 'visibility_toggle' );
Request window to be hidden / shown depending on its previous state.
This software is Copyright (c) 2008 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007