Skip to content
Snippets Groups Projects
Commit 72d1ce99 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Player facing point initialized with player pos

parent a7edd3b1
No related branches found
No related tags found
1 merge request!21Resolve "Mark counter to interact with"
Pipeline #42413 passed
......@@ -50,7 +50,7 @@ class Player:
] = None # needed to stop progress when moved away
self.current_nearest_counter: Optional[Counter] = None
self.facing_point: npt.NDArray[float] = np.array([0, 0], float)
self.facing_point: npt.NDArray[float] = np.array(self.pos)
def move(self, movement: npt.NDArray[float]):
"""Moves the player position by the given movement vector.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment