| 1 | # | ||
| 2 | # This file is part of Games-RailRoad | ||
| 3 | # | ||
| 4 | # This software is copyright (c) 2008 by Jerome Quelin. | ||
| 5 | # | ||
| 6 | # This is free software; you can redistribute it and/or modify it under | ||
| 7 | # the same terms as the Perl 5 programming language system itself. | ||
| 8 | # | ||
| 9 | 9 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 9 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 9 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | package Games::RailRoad::Node::Half; | ||
| 14 | 9 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 9 | $Games::RailRoad::Node::Half::VERSION = '1.101330'; | |
| 16 | } | ||
| 17 | # ABSTRACT: a node object with one branch | ||
| 18 | |||
| 19 | 9 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 9 | extends qw{ Games::RailRoad::Node }; | |
| 21 | |||
| 22 | |||
| 23 | # -- private methods | ||
| 24 | |||
| 25 | 0 | ▶ | sub _next_map { return {}; } |
|
Subroutine
_next_map: not called CC=1 SCAR=6.9
| |||
| 26 | |||
| 27 | |||
| 28 | 9 | __PACKAGE__->meta->make_immutable; | |
| 29 | 9 | 1; | |
| 30 | |||
| 31 | |||
| 32 | =pod | ||
| 33 | |||
| 34 | =head1 NAME | ||
| 35 | |||
| 36 | Games::RailRoad::Node::Half - a node object with one branch | ||
| 37 | |||
| 38 | =head1 VERSION | ||
| 39 | |||
| 40 | version 1.101330 | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | This package is a virtual class representing a node object with only | ||
| 45 | one branch. | ||
| 46 | |||
| 47 | Refer to L<Games::RailRoad::Node> for a description of the various | ||
| 48 | node types. | ||
| 49 | |||
| 50 | =head1 AUTHOR | ||
| 51 | |||
| 52 | Jerome Quelin | ||
| 53 | |||
| 54 | =head1 COPYRIGHT AND LICENSE | ||
| 55 | |||
| 56 | This software is copyright (c) 2008 by Jerome Quelin. | ||
| 57 | |||
| 58 | This is free software; you can redistribute it and/or modify it under | ||
| 59 | the same terms as the Perl 5 programming language system itself. | ||
| 60 | |||
| 61 | =cut | ||
| 62 | |||
| 63 | |||
| 64 | __END__ | ||