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

    //World stuff
    var _this2 = _possibleConstructorReturn(this, (Actor.__proto__ || Object.getPrototypeOf(Actor)).call(this, element));

    _this2.stage = null;

    //preload
    _this2.preload();
    return _this2;
  }
/**
   * Creates a new Actor with a div element
   **/
Creates a new Actor with a div element
Creates a new Actor with a div element
function Actor(element) {
    _classCallCheck(this, Actor);
    var _this2 = _possibleConstructorReturn(this, (Actor.__proto__ || Object.getPrototypeOf(Actor)).call(this, element));
    _this2.stage = null;
    _this2.preload();
    return _this2;
  }
function Actor ( element ) { _classCallCheck ( this , Actor ) ; var _this2 = _possibleConstructorReturn ( this , ( Actor . __proto__ || Object . getPrototypeOf ( Actor ) ) . call ( this , element ) ) ; _this2 . stage = null ; _this2 . preload ( ) ; return _this2 ; }
Creates a new Actor with a div element
Creates a new Actor with a div element
//World stuff //preload