diff options
Diffstat (limited to 'pacman-c++/constants.h')
| -rw-r--r-- | pacman-c++/constants.h | 11 |
1 files changed, 9 insertions, 2 deletions
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 { | |||
| 16 | const unsigned int sprite_offset = 20; | 16 | const unsigned int sprite_offset = 20; |
| 17 | const unsigned int tick = 250; // ms | 17 | const unsigned int tick = 250; // ms |
| 18 | 18 | ||
| 19 | const unsigned int port = 7321; | 19 | namespace Networking { |
| 20 | const unsigned int connection_timeout = 3000; | 20 | const unsigned int port = 7321; |
| 21 | const unsigned int connection_timeout = 3000; | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace Game { | ||
| 25 | const unsigned int bonus_point_value = 100; | ||
| 26 | const unsigned int point_value = 10; | ||
| 27 | } | ||
| 21 | } | 28 | } |
| 22 | 29 | ||
| 23 | namespace Color | 30 | namespace Color |
