diff options
Diffstat (limited to 'lib/Bot/Games/Game/Chess.pm')
-rw-r--r-- | lib/Bot/Games/Game/Chess.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Bot/Games/Game/Chess.pm b/lib/Bot/Games/Game/Chess.pm index c3eb14f..d689785 100644 --- a/lib/Bot/Games/Game/Chess.pm +++ b/lib/Bot/Games/Game/Chess.pm @@ -17,12 +17,12 @@ has game => ( ); has turn_count => ( - traits => ['MooseX::AttributeHelpers::Trait::Counter'], + traits => [qw(Counter)], is => 'ro', isa => 'Int', default => 1, - provides => { - inc => 'inc_turn', + handles => { + inc_turn => 'inc', } ); |