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


Games-Pandemic documentation  | view source Contained in the Games-Pandemic distribution.

Index


NAME

Top

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

VERSION

Top

version 1.111030

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

Top

Jerome Quelin

COPYRIGHT AND LICENSE

Top


Games-Pandemic documentation  | view source Contained in the Games-Pandemic distribution.