From 98f4a31e1a359a69dbcc0fa4055f36cefb6d4e02 Mon Sep 17 00:00:00 2001 From: totycro Date: Mon, 11 Apr 2011 12:09:04 +0200 Subject: Added basic game logic --- pacman-c++/constants.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'pacman-c++/constants.h') diff --git a/pacman-c++/constants.h b/pacman-c++/constants.h index e7330ae..aacc964 100644 --- a/pacman-c++/constants.h +++ b/pacman-c++/constants.h @@ -16,8 +16,15 @@ namespace Constants { const unsigned int sprite_offset = 20; const unsigned int tick = 250; // ms - const unsigned int port = 7321; - const unsigned int connection_timeout = 3000; + namespace Networking { + const unsigned int port = 7321; + const unsigned int connection_timeout = 3000; + } + + namespace Game { + const unsigned int bonus_point_value = 100; + const unsigned int point_value = 10; + } } namespace Color -- cgit v1.2.3