home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / Beez.swf / scripts / game / controller / InstructionsHideCommand.as < prev    next >
Encoding:
Text File  |  2008-09-03  |  692 b   |  25 lines

  1. package game.controller
  2. {
  3.    import game.model.AppProxy;
  4.    import game.model.NotesProxy;
  5.    import org.puremvc.as3.interfaces.ICommand;
  6.    import org.puremvc.as3.interfaces.INotification;
  7.    import org.puremvc.as3.patterns.command.SimpleCommand;
  8.    
  9.    public class InstructionsHideCommand extends SimpleCommand implements ICommand
  10.    {
  11.        
  12.       
  13.       public function InstructionsHideCommand()
  14.       {
  15.          super();
  16.       }
  17.       
  18.       override public function execute(note:INotification) : void
  19.       {
  20.          var notesProxy:NotesProxy = facade.retrieveProxy(NotesProxy.NAME) as NotesProxy;
  21.          notesProxy.push(AppProxy.START_GAME);
  22.       }
  23.    }
  24. }
  25.