mirror of
https://gitlab.com/arnekeller/kit-programmieren-ws1920-final1.git
synced 2024-11-24 01:15:05 +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