Allow &meta and :Void to co-exist
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
(defmethod new [:Float x :Float y]
|
||||
(super x y)
|
||||
(loadGraphic AssetPaths.coin__png false 8 8)
|
||||
(return))
|
||||
(loadGraphic AssetPaths.coin__png false 8 8))
|
||||
|
||||
(defmethod &override kill []
|
||||
(defmethod &override :Void kill []
|
||||
(set alive false)
|
||||
(FlxTween.tween
|
||||
this
|
||||
@@ -13,8 +12,7 @@
|
||||
0.33
|
||||
(object
|
||||
ease FlxEase.circOut
|
||||
onComplete finishKill))
|
||||
(return))
|
||||
onComplete finishKill)))
|
||||
|
||||
(defmethod finishKill [_]
|
||||
(set exists false))
|
@@ -10,8 +10,7 @@
|
||||
(animation.add "d" [0 1 0 2] 6 false)
|
||||
(set drag.x (set drag.y 1600))
|
||||
(setSize 8 8)
|
||||
(offset.set 4 4)
|
||||
(return))
|
||||
(offset.set 4 4))
|
||||
|
||||
(defmethod updateMovement []
|
||||
(let [[&mut up &mut down &mut left &mut right]
|
||||
|
Reference in New Issue
Block a user