From 3850fbac35bb5679ed58753491db4a4cd2267a73 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 11 Jul 2022 23:03:27 -0700 Subject: make colors easier to edit --- app.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app.lua') diff --git a/app.lua b/app.lua index e5be2b0..56b9dba 100644 --- a/app.lua +++ b/app.lua @@ -157,6 +157,10 @@ function App.screen.print(msg, x,y) end end +function App.color(color) + love.graphics.setColor(color.r, color.g, color.b, color.a) +end + App.time = 1 function App.getTime() return App.time -- cgit 1.4.1-2-gfad0