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

NAME

Games::RailRoad::Node::Switch - a node object with three branches

DESCRIPTION

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.

SEE ALSO

Games::RailRoad::Node.

AUTHOR

Jerome Quelin, <jquelin at cpan.org>

COPYRIGHT & LICENSE

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.