Skip to content

Instantly share code, notes, and snippets.

@videlais
Created October 15, 2013 02:51
Show Gist options
  • Save videlais/6985783 to your computer and use it in GitHub Desktop.
Save videlais/6985783 to your computer and use it in GitHub Desktop.
ActionScript 3 Example 2 PlayState Version 3
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class PlayState extends FlxState
{
private var player:PlayerSprite;
public function PlayState()
{
player = new PlayerSprite();
add(player);
}
override public function update():void
{
super.update();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment