aboutsummaryrefslogtreecommitdiff
path: root/lib/sumo.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sumo.js')
-rw-r--r--lib/sumo.js4
1 files changed, 2 insertions, 2 deletions
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