Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PlayerWin extends World
- {
- public var winscreen:WinScreen = new WinScreen(0, 0);
- public function PlayerWin()
- {
- add(winscreen);
- }
- }
- }
- WINSCREEN:
- public class WinScreen extends Entity
- {
- public function WinScreen(x:int, y:int)
- {
- type = "winscreen";
- this.graphic = new Image (Assets.playerwin1);
- this.x = x;
- this.y = y
- }
- }
- }
Add Comment
Please, Sign In to add comment