diff options
author | equa <equaa@protonmail.com> | 2021-04-19 20:39:21 -0500 |
---|---|---|
committer | equa <equaa@protonmail.com> | 2021-04-19 20:39:21 -0500 |
commit | 00af64d4e503dd82abf4657ec6fd44b0a418adb2 (patch) | |
tree | 4e864337769f5ddd792db95be3bc761159748af4 /lib/entity.fnl | |
parent | ca870dab91daee38b8d55ac6d2f2b4fd6959c6ac (diff) |
cool bullets
Diffstat (limited to 'lib/entity.fnl')
-rw-r--r-- | lib/entity.fnl | 1 |
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] |