Games::RailRoad::Node::Half::N - a given type of node...


Games-RailRoad documentation Contained in the Games-RailRoad distribution.

Index


Code Index:

NAME

Top

Games::RailRoad::Node::Half::N - a given type of node...

VERSION

Top

version 1.101330

DESCRIPTION

Top

This package provides a node object. Refer to Games::RailRoad::Node for a description of the various node types.

AUTHOR

Top

  Jerome Quelin

COPYRIGHT AND LICENSE

Top


Games-RailRoad documentation Contained in the Games-RailRoad distribution.

# 
# This file is part of Games-RailRoad
# 
# This software is copyright (c) 2008 by Jerome Quelin.
# 
# This is free software; you can redistribute it and/or modify it under
# the same terms as the Perl 5 programming language system itself.
# 
use 5.010;
use strict;
use warnings;

package Games::RailRoad::Node::Half::N;
BEGIN {
  $Games::RailRoad::Node::Half::N::VERSION = '1.101330';
}
# ABSTRACT: a given type of node...

use Moose;
extends qw{ Games::RailRoad::Node::Half };


# -- private methods

sub _transform_map {
    my $prefix = 'Games::RailRoad::Node';
    return {
        's'   => $prefix . '::Straight::N_S',
        'se'  => $prefix . '::Straight::N_SE',
        'sw'  => $prefix . '::Straight::N_SW',
        '-n'  => $prefix,
    };
}

__PACKAGE__->meta->make_immutable;
1;



__END__