summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Game/Chess.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-10-31 15:25:24 -0500
committerJesse Luehrs <doy@tozt.net>2009-10-31 15:28:04 -0500
commit5af5428d564bb0c0748ddac21fa5823c1c19f965 (patch)
tree6761e5d781d49d2a07a10c595a0a01af6c6ccbdd /lib/Bot/Games/Game/Chess.pm
parent188ad8e49c1fa2802eaa55b3d4ae978f2c58c23c (diff)
downloadbot-games-5af5428d564bb0c0748ddac21fa5823c1c19f965.tar.gz
bot-games-5af5428d564bb0c0748ddac21fa5823c1c19f965.zip
remove mx-ah
Diffstat (limited to 'lib/Bot/Games/Game/Chess.pm')
-rw-r--r--lib/Bot/Games/Game/Chess.pm6
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',
}
);