The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Games::Pandemic::Tk::PlayerCards - pandemic dialog to show player cards

VERSION

version 1.120510

SYNOPSIS

    Games::Pandemic::Tk::PlayerCards->new( parent=>$mw );

DESCRIPTION

This module implements a POE session (aliased cards), responsible to show the cards hold by the various players. It will receive some events from the main window when the players gain or loose some cards.

METHODS

event: new_player( $player )

Request to add a new $player to the window.

event: gain_card($player, $card)

Request to add a new $card to $player.

event: drop_card($player, $card)

Request to remove a $card from $player.

event: destroy()

Request to destroy the window.

event: toggle_visibility()

Request to hide/show window depending on its previous state.

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991