| Games-Risk documentation | view source | Contained in the Games-Risk distribution. |
Games::Risk::Tk::Continents - continents information
version 3.103040
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( 'gui-continents' => 'shutdown' );
Kill current session. The toplevel window has already been destroyed.
$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
| Games-Risk documentation | view source | Contained in the Games-Risk distribution. |