aboutsummaryrefslogtreecommitdiff
path: root/utils/constants.lua
diff options
context:
space:
mode:
Diffstat (limited to 'utils/constants.lua')
-rw-r--r--utils/constants.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/constants.lua b/utils/constants.lua
new file mode 100644
index 0000000..2210d65
--- /dev/null
+++ b/utils/constants.lua
@@ -0,0 +1,11 @@
+constants = {}
+
+constants.resetBgColor = {0, 0, 0}
+constants.resetFgColor = {1, 1, 1}
+
+function constants:resetColors()
+ love.graphics.setColor(constants.resetFgColor)
+ love.graphics.setBackgroundColor(constants.resetBgColor)
+end
+
+return constants \ No newline at end of file