(function() {

  this.def_class('Levelpack',__scope.Rome.Document,function(__scope,__class){

    if(!this.__ctor__){this.__ctor__= function Levelpack(){__class.__super__.__ctor__.apply(this, arguments)}; this.__ctor__.prototype = this.prototype; }

    this.key('name', 'string', {
      default: "Unnamed levelpack"
    });

    this.key('levels', 'list');

    this.prototype.changes = function() {
      return {
        levels: this.levels().flush()
      };
    }; __method_added(this,"changes");

    this.prototype["dirty?"] = function() {
      return this.levels()["@changes"]["any?"]();
    }; __method_added(this,"dirty?");

  });

}).call($$base);

