summary refs log tree commit diff
path: root/lib/entity.fnl
diff options
context:
space:
mode:
authorequa <equaa@protonmail.com>2021-04-19 20:39:21 -0500
committerequa <equaa@protonmail.com>2021-04-19 20:39:21 -0500
commit00af64d4e503dd82abf4657ec6fd44b0a418adb2 (patch)
tree4e864337769f5ddd792db95be3bc761159748af4 /lib/entity.fnl
parentca870dab91daee38b8d55ac6d2f2b4fd6959c6ac (diff)
cool bullets
Diffstat (limited to 'lib/entity.fnl')
-rw-r--r--lib/entity.fnl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/entity.fnl b/lib/entity.fnl
index 2032e65..6771b5e 100644
--- a/lib/entity.fnl
+++ b/lib/entity.fnl
@@ -3,6 +3,7 @@
 {:init (proto.table-method :entity.init)
  :position (proto.table-value :entity.position)
  :velocity (proto.table-value :entity.velocity)
+ :duration (proto.table-value :entity.duration)
  ;; [self game {: up : down : left : right}]
  :steer (proto.meta-method :entity.velocity)
  ;; [self game]