diff --git a/source/BackgroundDancer.hx b/source/BackgroundDancer.hx deleted file mode 100644 index 43a68c145..000000000 --- a/source/BackgroundDancer.hx +++ /dev/null @@ -1,31 +0,0 @@ -package; - -import flixel.FlxSprite; -import flixel.graphics.frames.FlxAtlasFrames; - -class BackgroundDancer extends FlxSprite -{ - public function new(x:Float, y:Float) - { - super(x, y); - - frames = Paths.getSparrowAtlas("limo/limoDancer"); - animation.addByIndices('danceLeft', 'bg dancer sketch PINK', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "", 24, false); - animation.addByIndices('danceRight', 'bg dancer sketch PINK', [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], "", 24, false); - animation.play('danceLeft'); - animation.finish(); - antialiasing = true; - } - - var danceDir:Bool = false; - - public function dance():Void - { - danceDir = !danceDir; - - if (danceDir) - animation.play('danceRight', true); - else - animation.play('danceLeft', true); - } -} diff --git a/source/PlayState.hx b/source/PlayState.hx index b7007e345..dca9af201 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -108,10 +108,6 @@ class PlayState extends MusicBeatState var foregroundSprites:FlxTypedGroup; - var limo:FlxSprite; - var grpLimoDancers:FlxTypedGroup; - var fastCar:FlxSprite; - var upperBoppers:FlxSprite; var bottomBoppers:FlxSprite; var santa:FlxSprite; @@ -2890,12 +2886,6 @@ class PlayState extends MusicBeatState bottomBoppers.animation.play('bop', true); santa.animation.play('idle', true); - case 'limo': - grpLimoDancers.forEach(function(dancer:BackgroundDancer) - { - dancer.dance(); - }); - case 'tank': tankWatchtower.dance(); }