mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-13 20:23:06 +00:00
Fix placing trains
This commit is contained in:
parent
e8a2a28aa8
commit
8811dcf228
@ -185,7 +185,7 @@ public final class Train {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.position = positions;
|
this.position = positions;
|
||||||
this.direction = direction;
|
this.direction = rawDirection.normalized();
|
||||||
this.occupiedRails = occupiedRailsSet;
|
this.occupiedRails = occupiedRailsSet;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user