diff options
author | doy <doy@tozt.net> | 2009-04-24 22:56:10 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-24 22:56:10 -0500 |
commit | 93220f905ec24e3a4ea4367fe15ed7c86b40f68b (patch) | |
tree | d42a301f1c28aa7116c9cf7f58ba945f0de3672e /lib/Bot/Games.pm | |
parent | dcdc1e4ac2404fb90b9d5f3390614c5cc46b3e0f (diff) | |
download | bot-games-93220f905ec24e3a4ea4367fe15ed7c86b40f68b.tar.gz bot-games-93220f905ec24e3a4ea4367fe15ed7c86b40f68b.zip |
use MooseX::NonMoose
Diffstat (limited to 'lib/Bot/Games.pm')
-rw-r--r-- | lib/Bot/Games.pm | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Bot/Games.pm b/lib/Bot/Games.pm index dcc4671..83516bb 100644 --- a/lib/Bot/Games.pm +++ b/lib/Bot/Games.pm @@ -5,14 +5,7 @@ use Module::Pluggable search_path => 'Bot::Games::Game', except => ['Bot::Games::Game::Ghostlike'], sub_name => 'games'; -extends 'Bot::BasicBot', 'Moose::Object'; -around new => sub { - my $orig = shift; - my $class = shift; - my $self = $class->$orig(@_); - $self->BUILDALL({@_}); - return $self; -}; +extends 'Bot::BasicBot'; has prefix => ( is => 'rw', |