Skip to content

Instantly share code, notes, and snippets.

@sztomi
Forked from Koshmaar/imgui_1
Created March 15, 2014 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sztomi/9574084 to your computer and use it in GitHub Desktop.
Save sztomi/9574084 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