aboutsummaryrefslogtreecommitdiff
path: root/utils/constants.lua
diff options
context:
space:
mode:
authorIndrajith K L2022-02-27 01:15:31 +0530
committerIndrajith K L2022-02-27 01:15:31 +0530
commit62ff5245c26c305e35a2903cc64a60cb20718e96 (patch)
tree9042f9917e77b584b0ceb421166221ef7777a5d1 /utils/constants.lua
downloadYEAD-62ff5245c26c305e35a2903cc64a60cb20718e96.tar.gz
YEAD-62ff5245c26c305e35a2903cc64a60cb20718e96.tar.bz2
YEAD-62ff5245c26c305e35a2903cc64a60cb20718e96.zip
Initial Commit
* ECS - In-Progress * GameStates - Skeleton Implemented * Library Integrations - Completed * Levels - In-Progress
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