player pos is checked
This commit is contained in:
10
games/objects/Position.py
Normal file
10
games/objects/Position.py
Normal 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)
|
Reference in New Issue
Block a user