Games::Risk::Tk::Continents - continents information
version 3.112590
GR::Tk::Continents implements a POE session, creating a Tk window to list the continents of the map and their associated bonus.
GR::Tk::Continents
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.
$destroy
$K->post( 'gui-continents' => 'visibility_toggle' );
Request window to be hidden / shown depending on its previous state.
Games::Risk::Tk::Continents->new(%opts);
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
To install Games::Risk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Risk
CPAN shell
perl -MCPAN -e shell install Games::Risk
For more information on module installation, please visit the detailed CPAN module installation guide.