Peter L. Berghold > RPG-Traveller-Starmap-0.500 > RPG::Traveller::Starmap::Parsec

Download:
RPG-Traveller-Starmap-0.500.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

RPG::Traveller::Starmap::Parsec - Encapsulates a parsec for (Mega)Traveller

VERSION ^

version 0.500

SYNOPSIS ^

    use RPG::Traveller::Starmap::Parsec;
    my $parsec=new RPG::Traveller::Starmap::Parsec;
    $parsec->posx(1);
    $parsec->posy(2);
    $parsec->generate;

METHODS ^

posy/posx

Getter setter methods to pin the posx and posy attributes.

generate

Recursively generates all the attributes for a parsec.

SEE ALSO ^

AUTHOR ^

Peter L. Berghold <peter@berghold.net>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Peter L. Berghold.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: