function Stage(element) {
    _classCallCheck(this, Stage);

    var _this3 = _possibleConstructorReturn(this, (Stage.__proto__ || Object.getPrototypeOf(Stage)).call(this, element));

    _this3.actors = [];
    _this3.running = false;

    //Timers for ticks
    _this3.renderTimer = new Timer();
    _this3.updateTimer = new Timer();

    _this3.renderTicks = 0;
    _this3.updateTicks = 0;

    //FPS TESTER
    _this3.fps = 0;

    //started time
    _this3.then;
    _this3.now;
    return _this3;
  }
/**
   * Creates a new Stage with a given element
   **/
Creates a new Stage with a given element
Creates a new Stage with a given element
function Stage(element) {
    _classCallCheck(this, Stage);
    var _this3 = _possibleConstructorReturn(this, (Stage.__proto__ || Object.getPrototypeOf(Stage)).call(this, element));
    _this3.actors = [];
    _this3.running = false;
    _this3.renderTimer = new Timer();
    _this3.updateTimer = new Timer();
    _this3.renderTicks = 0;
    _this3.updateTicks = 0;
    _this3.fps = 0;
    _this3.then;
    _this3.now;
    return _this3;
  }
function Stage ( element ) { _classCallCheck ( this , Stage ) ; var _this3 = _possibleConstructorReturn ( this , ( Stage . __proto__ || Object . getPrototypeOf ( Stage ) ) . call ( this , element ) ) ; _this3 . actors = [ ] ; _this3 . running = false ; _this3 . renderTimer = new Timer ( ) ; _this3 . updateTimer = new Timer ( ) ; _this3 . renderTicks = 0 ; _this3 . updateTicks = 0 ; _this3 . fps = 0 ; _this3 . then ; _this3 . now ; return _this3 ; }
Creates a new Stage with a given element
Creates a new Stage with a given element
//Timers for ticks //FPS TESTER //started time