Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package
- {
- import net.flashpunk.Entity;
- import net.flashpunk.graphics.Image;
- public class MyEntity extends Entity
- {
- [Embed(source = 'assets/player.png')] private const PLAYER:Class;
- public function MyEntity()
- {
- graphic = new Image(PLAYER);
- }
- }
- }
Add Comment
Please, Sign In to add comment