player pos is checked

This commit is contained in:
2024-01-16 17:47:31 +01:00
parent a1e732f167
commit 58c0df447c
10 changed files with 180 additions and 52 deletions

10
games/objects/Position.py Normal file
View File

@ -0,0 +1,10 @@
from typing import Union
class Position:
def __init__(self, position = 0, time: int = 0) -> None:
self.time = time
self.position = position
def copy(self):
return Position(self.position, self.time)