summaryrefslogtreecommitdiff
path: root/sprite/sprite.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-09-11 22:38:29 +0800
committerchai <chaifix@163.com>2018-09-11 22:38:29 +0800
commit99d246aa9f42e7c04cc6bab57a5ae195bfc904df (patch)
treea2e611264bb1b00c85f93d64b47991a879c3a2fa /sprite/sprite.lua
parent97aace7c54fdb968f66d3998f796e87a42e9719e (diff)
*update
Diffstat (limited to 'sprite/sprite.lua')
-rw-r--r--sprite/sprite.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/sprite/sprite.lua b/sprite/sprite.lua
new file mode 100644
index 0000000..79a7c06
--- /dev/null
+++ b/sprite/sprite.lua
@@ -0,0 +1,15 @@
+local Sprite = {
+ x = 0,
+ y = 0,
+}
+Sprite.__index = Sprite
+
+function Sprite:update(dt)
+
+end
+
+function Sprite.draw(sp)
+
+end
+
+return Sprite \ No newline at end of file