SuperStar.js 488 B

1234567891011121314
  1. var Star = require("components/Star");
  2. var __extends = (this && this.__extends) || function (d, b) {for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];function __() { this.constructor = d; };__.prototype = b.prototype;d.prototype = new __();};
  3. var SuperStar = (function(_super) {
  4. __extends(SuperStar, _super);
  5. function SuperStar () {
  6. Star.call(this);
  7. };
  8. SuperStar.prototype.start = function() {
  9. this.node.scale2D = [2,2];
  10. };
  11. ;
  12. return SuperStar;
  13. })(Star);
  14. module.exports = SuperStar;