+ SumoFactory.createArena(this._engine, {
+ position: {
+ x: this.horizontalResolution / 2,
+ y: this.verticalResolution / 2
+ }
+ });
+
+ const sumoA = SumoFactory.createPlayer1Sumo(null, {
+ position: {
+ x: this.horizontalResolution / 2 - 100,
+ y: this.verticalResolution / 2
+ }
+ });
+
+ const sumoB = SumoFactory.createPlayer2Sumo(null, {
+ position: {
+ x: this.horizontalResolution / 2 + 100,
+ y: this.verticalResolution / 2
+ }
+ });
+
+ const harness = SumoFactory.createHarness(null, {
+ position: {
+ x: this.horizontalResolution / 2,
+ y: this.verticalResolution / 2
+ }
+ });
+
+ SumoFactory.createRubberBand(this._engine, {
+ entityA: sumoA,
+ entityB: harness
+ });
+
+ SumoFactory.createRubberBand(this._engine, {
+ entityA: sumoB,
+ entityB: harness
+ });
+
+ // Walls
+
+ SumoFactory.createInvisibleBlock(this._engine, {
+ width: this.horizontalResolution * 2,
+ height: this.verticalResolution * 0.1,
+ position: {
+ x: this.horizontalResolution / 2,
+ y: -this.verticalResolution * 0.1
+ }
+ });
+
+ SumoFactory.createInvisibleBlock(this._engine, {
+ width: this.horizontalResolution * 2,
+ height: this.verticalResolution * 0.1,