| Games-Nintendo-Wii-Mii documentation | Contained in the Games-Nintendo-Wii-Mii distribution. |
Games::Nintendo::Wii::Mii::Data::Eye - Mii's eye data
version 0.01
Toru Yamaguchi, <zigorou@cpan.org>
Please report any bugs or feature requests to
bug-games-nintendo-wii-mii-data-eye@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 2007 Toru Yamaguchi, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Games-Nintendo-Wii-Mii documentation | Contained in the Games-Nintendo-Wii-Mii distribution. |
package Games::Nintendo::Wii::Mii::Data::Eye; use strict; use warnings; use base qw(Class::Accessor::Fast); use Readonly; Readonly our @ACCESSORS => qw/ eye_type eye_rotation eye_vertical_position eye_color eye_size eye_horizon_spacing /; __PACKAGE__->mk_accessors(@ACCESSORS);
our $VERSION = '0.01';
sub new { my ($class, $args) = @_; $args ||= {}; $args->{eye_type} ||= 6; $args->{eye_rotation} ||= 3; $args->{eye_vertical_position} ||= 5; $args->{eye_color} ||= 3; $args->{eye_size} ||= 3; $args->{eye_horizon_spacing} ||= 4; my $self = $class->SUPER::new($args); return $self; }
1; # End of Games::Nintendo::Wii::Mii::Data::Eye