Skip to content

Instantly share code, notes, and snippets.

@Koshmaar
Created March 15, 2014 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Koshmaar/9573883 to your computer and use it in GitHub Desktop.
Save Koshmaar/9573883 to your computer and use it in GitHub Desktop.
// class Enemies, function Update():
if (CONFIG::debug)
{
if (FlxG.keys.SHIFT && FlxG.keys.justPressed("D"))
{
// kill all enemies
for each ( var enemy : Enemy in members)
{
if (enemy.alive && enemy.exists)
enemy.baloon.TypedEverything();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment