X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/blobdiff_plain/1676911c8a2621274bf75ff7271faa926cf58d6c..43413defcb854c8706a84a6a54a61c7977b52614:/lib/sumo.js diff --git a/lib/sumo.js b/lib/sumo.js index d39c055..cdf8cc6 100644 --- a/lib/sumo.js +++ b/lib/sumo.js @@ -237,14 +237,14 @@ internals.Sumo = class Sumo { } }); - const sumoA = SumoFactory.createSumo(null, { + const sumoA = SumoFactory.createPlayer1Sumo(null, { position: { x: this.horizontalResolution / 2 - 100, y: this.verticalResolution / 2 } }); - const sumoB = SumoFactory.createControllableSumo(null, { + const sumoB = SumoFactory.createPlayer2Sumo(null, { position: { x: this.horizontalResolution / 2 + 100, y: this.verticalResolution / 2