From 62ff5245c26c305e35a2903cc64a60cb20718e96 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sun, 27 Feb 2022 01:15:31 +0530 Subject: Initial Commit * ECS - In-Progress * GameStates - Skeleton Implemented * Library Integrations - Completed * Levels - In-Progress --- utils/constants.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 utils/constants.lua (limited to 'utils/constants.lua') 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 -- cgit v1.2.3