From 00af64d4e503dd82abf4657ec6fd44b0a418adb2 Mon Sep 17 00:00:00 2001 From: equa Date: Mon, 19 Apr 2021 20:39:21 -0500 Subject: cool bullets --- lib/entity.fnl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/entity.fnl') 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] -- cgit 1.3.0-6-gf8a5