whole_func_string: function() {
          var me = this;
          if (me.fireEvent('beforedestroy', me) !== false) {
              me.remove();
              me.surface.onDestroy(me);
              me.clearListeners();
              me.fireEvent('destroy');
          }
      }
func_code_string: function() {
          var me = this;
          if (me.fireEvent('beforedestroy', me) !== false) {
              me.remove();
              me.surface.onDestroy(me);
              me.clearListeners();
              me.fireEvent('destroy');
          }
      }
func_documentation_string: Removes the sprite and clears all listeners.