}
});
- 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