aboutsummaryrefslogtreecommitdiff
path: root/core/constants.lua
diff options
context:
space:
mode:
authorIndrajith K L2022-03-01 02:48:49 +0530
committerIndrajith K L2022-03-01 02:48:49 +0530
commitf5eaa22a1c9598c9f7a55a41614d1ce4769dee4a (patch)
treeafbb7585324e9efbfd5820f07d9a0239193d3e99 /core/constants.lua
parent05add67d6f95c51a3501bc15a742cf9fccc4b67e (diff)
downloadYEAD-f5eaa22a1c9598c9f7a55a41614d1ce4769dee4a.tar.gz
YEAD-f5eaa22a1c9598c9f7a55a41614d1ce4769dee4a.tar.bz2
YEAD-f5eaa22a1c9598c9f7a55a41614d1ce4769dee4a.zip
* Adds Ambience SFX & Management
* Notification - In-Progress * Collision Callbacks * Interactive & Pickable entities - In-Progress
Diffstat (limited to 'core/constants.lua')
-rw-r--r--core/constants.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/constants.lua b/core/constants.lua
new file mode 100644
index 0000000..5284e6d
--- /dev/null
+++ b/core/constants.lua
@@ -0,0 +1,11 @@
+constants = {}
+
+constants.resetBgColor = {0.15, 0.15, 0.15}
+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