mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-12 19:53:12 +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.direction = direction;
|
||||
this.direction = rawDirection.normalized();
|
||||
this.occupiedRails = occupiedRailsSet;
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user