Correct direction vs orientation

This commit is contained in:
Kim Ravn Hansen
2025-10-04 17:15:56 +02:00
parent 0091a6d9b8
commit 2bf6272291
2 changed files with 4 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ class Player {
return;
}
if (o === Orientation.NORTH) {
this._directionV = new Vector2i(0, 1);
this._directionV = new Vector2i(0, -1);
return;
}
if (o === Orientation.WEST) {
@@ -57,7 +57,7 @@ class Player {
return;
}
if (o === Orientation.SOUTH) {
this._directionV = new Vector2i(0, -1);
this._directionV = new Vector2i(0, 1);
return;
}
}