Games::RailRoad - a train simulation game


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

Index


NAME

Top

Games::RailRoad - a train simulation game

VERSION

Top

version 1.101330

DESCRIPTION

Top

Games::RailRoad allows you to draw a railroad, create some trains and make them move on it. What you did when you were kid, but on your computer now.

CLASS METHODS

Top

my $id = Games::RailRoad->spawn( %opts );

Create a new game, and return the associated POE session ID. No option supported as of now.

PUBLIC EVENTS

Top

The POE session accepts the following events:

none yet.

TODO

Top

Currently the module is very rough and supports very few operations:

* drawing and connecting rails by left-clicking and dragging mouse on the canvas.
* removing a node by right-clicking on it on the canvas.
* placing a train on a rail by middle-clikcing on a rail on the canvas.
* support for more than one train
* changing switch exits by double-clicking on it.
* saving / loading to a file

The amount of work needed is much more vast and includes (but not limited to):

* adding coaches to trains
* rc-file for the application
* better interface (what about one-button mice?)
* available help
* etc...

SEE ALSO

Top

You can find more information on this module at:

* Search CPAN

http://search.cpan.org/dist/Games-RailRoad

* See open / report bugs

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Games-RailRoad

* Git repository

http://github.com/jquelin/games-railroad

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Games-RailRoad

* CPAN Ratings

http://cpanratings.perl.org/d/Games-RailRoad

AUTHOR

Top

  Jerome Quelin

COPYRIGHT AND LICENSE

Top


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