Jerome Quelin > Games-Pandemic-1.120510 > Games::Pandemic::Controller

Download:
Games-Pandemic-1.120510.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.120510   Source  

NAME ^

Games::Pandemic::Controller - controller for a pandemic game

VERSION ^

version 1.120510

METHODS ^

event: airlift($player, $card, $selplayer, $city)

Special event card: move a player in any city.

event: close()

Player has closed current game.

event: continue()

Player wishes to move game forward.

event: drop_cards( $player, @cards )

Request from $player to remove some @cards from her hands.

event: forecast($player, $card, @cards)

Special event card: rearrange infections to come.

event: government_grant($player, $card, $city)

Special event card: add a new research station.

event: new_game()

Create a new game: (re-)initialize the map, and various internal states.

event: one_quiet_night($player, $card)

Special event card: prevent disease propagation during this turn.

event: resilient_population($player, $card, $city)

Special event card: remove a city from the game.

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
syntax highlighting: