NAME

RPG::Traveller::Person - Base class for a family of (Mega)Traveller character generation modules

VERSION

version 1.020

SYNOPSIS

     package Some::RPG::Module;
     use RPG::Traveller::Person;
     use Moose;  # Recommended
     # insert code example here
     extendds(RPG::Traveller::Person;
     ... and the rest of your code goes here.

METHODS

initUPP

This method intializes the base UWP values and sets the age to 18

upp2string

This method returns the current UWP and age values as a formatted string

toString

This method actually gets overloaded by subordinate modules in order. This is to return the stats on a particular person generated.

ATTRIBUTES

For each attribute (since we are using Moose) has its own getter/setter methods created during vivication. The list of modules are as folows:

strength
dexterity
endurance
intelligence
education
social_standing
age
career
alive
enlisted
terms

Traveller RPG Copyright

The Traveller game in all forms is owned by Far Future Enterprises. Copyright 1977 - 2008 Far Future Enterprises. Traveller is a registered trademark of Far Future Enterprises. The contents of this code is for personal, non-commercial use only. Any use of Far Future Enterprise's copyrighted material or trademarks anywhere in this code and its resources should not be viewed as a challenge to those copyrights or trademarks. For the full FAIR USE POLICY please refer to http://www.farfuture.net/FFEFairUsePolicy2008.pdf

SEE ALSO

AUTHOR

Peter L. Berghold <cpan@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.