summaryrefslogtreecommitdiff
path: root/constants.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'constants.cpp')
-rw-r--r--constants.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/constants.cpp b/constants.cpp
new file mode 100644
index 0000000..4e392f2
--- /dev/null
+++ b/constants.cpp
@@ -0,0 +1,7 @@
+#include "constants.h"
+
+const int BORDEROFFSET = 10;
+const int GRIDWIDTH = 600;
+const int GRIDHEIGHT = 600;
+const int SQUARESIZE = 20;
+const int NUMBEROFCELLS = ((GRIDWIDTH*GRIDHEIGHT)/SQUARESIZE)/SQUARESIZE;