Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/src/js/jgame.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 82 by tsugehara, Sun Apr 14 14:21:00 2013 UTC revision 83 by tsugehara, Tue Apr 16 10:57:53 2013 UTC
# Line 605  var E = (function () { Line 605  var E = (function () {
605          if(!cnt) {          if(!cnt) {
606              delete this.options;              delete this.options;
607          }          }
608            this.updated();
609      };      };
610      E.prototype.setDrawOption = function (name, value) {      E.prototype.setDrawOption = function (name, value) {
611          if(!this.options) {          if(!this.options) {
# Line 701  var E = (function () { Line 702  var E = (function () {
702          }          }
703          this.entities.splice(index, 0, entity);          this.entities.splice(index, 0, entity);
704          entity.activate();          entity.activate();
705            this.updated();
706      };      };
707      E.prototype.append = function (entity) {      E.prototype.append = function (entity) {
708          if(!this.entities) {          if(!this.entities) {
# Line 712  var E = (function () { Line 714  var E = (function () {
714          if(this.scene) {          if(this.scene) {
715              entity.activate();              entity.activate();
716          }          }
717            this.updated();
718      };      };
719      E.prototype.removeChild = function (entity) {      E.prototype.removeChild = function (entity) {
720          if(!this.entities) {          if(!this.entities) {
# Line 727  var E = (function () { Line 730  var E = (function () {
730                  }                  }
731                  this.entities.splice(i, 1);                  this.entities.splice(i, 1);
732                  entity.destroy();                  entity.destroy();
733                    this.updated();
734                  return true;                  return true;
735              }              }
736          }          }

Legend:
Removed from v.82  
changed lines
  Added in v.83

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26