summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games/Game.pm
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2008-12-18 03:26:27 -0500
committerdoy <doy@tozt.net>2008-12-18 03:26:27 -0500
commite15a1fb02694b5b17de1540815cdd1ff71d0b6e8 (patch)
tree7df9b34d85d59e2844fd9a3d9fbca1981076377c /lib/Bot/Games/Game.pm
parentd4297d3ac9ae41f86760a97ad472194b1e54a0c8 (diff)
downloadbot-games-e15a1fb02694b5b17de1540815cdd1ff71d0b6e8.tar.gz
bot-games-e15a1fb02694b5b17de1540815cdd1ff71d0b6e8.zip
give games an overridable help attribute
Diffstat (limited to 'lib/Bot/Games/Game.pm')
-rw-r--r--lib/Bot/Games/Game.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm
index d7c15e8..184efa8 100644
--- a/lib/Bot/Games/Game.pm
+++ b/lib/Bot/Games/Game.pm
@@ -4,6 +4,12 @@ use Moose;
use MooseX::AttributeHelpers;
use DateTime;
+has help => (
+ is => 'ro',
+ isa => 'Str',
+ default => 'This game doesn\'t have any help text!',
+);
+
has players => (
metaclass => 'Collection::Array',
is => 'rw',