code: function() {
          // load a level
          me.levelDirector.loadLevel("village");
          // subscribe to key down event
          this.handle = me.event.subscribe(me.event.KEYDOWN, this.keyPressed.bind(this));
      }
docs: action to perform on state change