Games::Nintendo::Wii::Mii::Data::BeardMustache - Mii's beard and mustache data


Games-Nintendo-Wii-Mii documentation Contained in the Games-Nintendo-Wii-Mii distribution.

Index


Code Index:

NAME

Top

Games::Nintendo::Wii::Mii::Data::BeardMustache - Mii's beard and mustache data

VERSION

Top

version 0.02

METHODS

Top

new

mustache_type

beard_type

facial_hair_color

mustache_size

mustache_vertical_position

AUTHOR

Top

Toru Yamaguchi, <zigorou@cpan.org>

BUGS

Top

Please report any bugs or feature requests to bug-games-nintendo-wii-mii-data-mustache@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Top


Games-Nintendo-Wii-Mii documentation Contained in the Games-Nintendo-Wii-Mii distribution.
package Games::Nintendo::Wii::Mii::Data::BeardMustache;

use strict;
use warnings;

use base qw(Class::Accessor::Fast);

use Readonly;

Readonly our @ACCESSORS => qw/
                                 mustache_type
                                 beard_type
                                 facial_hair_color
                                 mustache_size
                                 mustache_vertical_position
                             /;

__PACKAGE__->mk_accessors(@ACCESSORS);

our $VERSION = '0.02';

sub new {
    my ($class, $args) = @_;

    $args ||= {};
    $args->{mustache_type} ||= 2;
    $args->{beard_type} ||= 2;
    $args->{facial_hair_color} ||= 3;
    $args->{mustache_size} ||= 4;
    $args->{mustache_vertical_position} ||= 4;

    my $self = $class->SUPER::new($args);

    return $self;
}

1; # End of Games::Nintendo::Wii::Mii::Data::BeardMustache