home *** CD-ROM | disk | FTP | other *** search
- package game.controller
- {
- import game.model.AppProxy;
- import game.model.NotesProxy;
- import org.puremvc.as3.interfaces.ICommand;
- import org.puremvc.as3.interfaces.INotification;
- import org.puremvc.as3.patterns.command.SimpleCommand;
-
- public class InstructionsHideCommand extends SimpleCommand implements ICommand
- {
-
-
- public function InstructionsHideCommand()
- {
- super();
- }
-
- override public function execute(note:INotification) : void
- {
- var notesProxy:NotesProxy = facade.retrieveProxy(NotesProxy.NAME) as NotesProxy;
- notesProxy.push(AppProxy.START_GAME);
- }
- }
- }
-