Games::RailRoad::Node::Switch - a node object with three branches
This package is a virtual class representing a node object with three branches. There is a switch, meaning one can change the exit associated to a given end.
The following methods are implemented in this class:
draw
switch
Refer to Games::RailRoad::Node for a description of the various node types and methods.
Games::RailRoad::Node
Games::RailRoad::Node.
Jerome Quelin, <jquelin at cpan.org>
<jquelin at cpan.org>
Copyright (c) 2008 Jerome Quelin, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Games::RailRoad, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::RailRoad
CPAN shell
perl -MCPAN -e shell install Games::RailRoad
For more information on module installation, please visit the detailed CPAN module installation guide.