Skip to content

Instantly share code, notes, and snippets.

@videlais

videlais/PlayState.as

Last active Dec 25, 2015
Embed
What would you like to do?
ActionScript 3 Example 2 PlayState Version 2
package
{
/**
* ...
* @author Dan Cox
*/
import org.flixel.*;
public class PlayState extends FlxState
{
private var background:FlxSprite;
public function PlayState()
{
background = new FlxSprite();
background.makeGraphic(100, 100);
add(background);
}
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
You can’t perform that action at this time.