diff options
author | doy <doy@tozt.net> | 2009-04-26 19:25:37 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-26 19:25:37 -0500 |
commit | 42385a5a09bee71148e745ccbfe0a8d5286255f8 (patch) | |
tree | 70da3ab0f3f9528efdcceb5a87e2ea682549f17b /lib/Bot/Games/OO/Game.pm | |
parent | 27da6e113d34fef72de8b95b7261c137d6f9ef76 (diff) | |
download | bot-games-42385a5a09bee71148e745ccbfe0a8d5286255f8.tar.gz bot-games-42385a5a09bee71148e745ccbfe0a8d5286255f8.zip |
more renamespacing
Diffstat (limited to 'lib/Bot/Games/OO/Game.pm')
-rw-r--r-- | lib/Bot/Games/OO/Game.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Bot/Games/OO/Game.pm b/lib/Bot/Games/OO/Game.pm index 938af7c..b260477 100644 --- a/lib/Bot/Games/OO/Game.pm +++ b/lib/Bot/Games/OO/Game.pm @@ -8,7 +8,7 @@ sub command { my $superclass = Moose::blessed($method_meta) || 'Moose::Meta::Method'; my $method_metaclass = Moose::Meta::Class->create_anon_class( superclasses => [$superclass], - roles => ['Bot::Games::Meta::Role::Method::Command'], + roles => ['Bot::Games::Trait::Method::Command'], cache => 1, ); if ($method_meta) { @@ -22,7 +22,7 @@ sub command { ); $class->meta->add_method($name, $method_meta); } - for my $attr (Bot::Games::Meta::Role::Method::Command->meta->get_attribute_list) { + for my $attr (Bot::Games::Trait::Method::Command->meta->get_attribute_list) { $method_meta->$attr($args{$attr}) if exists $args{$attr}; } } @@ -40,9 +40,9 @@ sub init_meta { for_class => $options{for_class}, attribute_metaclass_roles => - ['Bot::Games::Meta::Role::Attribute::Command'], + ['Bot::Games::Trait::Attribute::Command'], metaclass_roles => - ['Bot::Games::Meta::Role::Class::Command'], + ['Bot::Games::Trait::Class::Command'], ); return $options{for_class}->meta; } |