Last active
December 25, 2015 11:29
-
-
Save videlais/6969041 to your computer and use it in GitHub Desktop.
ActionScript 3 Example 1 Code -- PlayState.as
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
/** | |
* ... | |
* @author Dan Cox | |
*/ | |
import org.flixel.*; | |
public class PlayState extends FlxState | |
{ | |
public function PlayState() | |
{ | |
var background:FlxSprite; | |
background = new FlxSprite(); | |
background.makeGraphic(100, 100); | |
add(background); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment