deprecate old projects & reduce CI workload
This commit is contained in:
18
projects/_deprecated/flixel-rpg-tutorial/source/Coin.kiss
Normal file
18
projects/_deprecated/flixel-rpg-tutorial/source/Coin.kiss
Normal file
@@ -0,0 +1,18 @@
|
||||
(method new [:Float x :Float y]
|
||||
(super x y)
|
||||
(loadGraphic AssetPaths.coin__png false 8 8))
|
||||
|
||||
(method &override :Void kill []
|
||||
(set alive false)
|
||||
(FlxTween.tween
|
||||
this
|
||||
(object
|
||||
alpha 0
|
||||
y (- y 16))
|
||||
0.33
|
||||
(object
|
||||
ease FlxEase.circOut
|
||||
onComplete finishKill)))
|
||||
|
||||
(method finishKill [_]
|
||||
(set exists false))
|
Reference in New Issue
Block a user