1
0
mirror of https://github.com/simisimis/blinkmeter.git synced 2025-12-06 08:42:26 +02:00

first commit

This commit is contained in:
Simonas Narbutas
2018-11-28 15:50:45 +01:00
commit 11928fa855
7 changed files with 143 additions and 0 deletions

12
counter.lua Normal file
View File

@@ -0,0 +1,12 @@
Counter = {counter = 0}
function Counter:increment()
self.counter = self.counter + 1
end
function Counter:reset()
self.counter = 0
end
function Counter:get()
return self.counter
end