fix: game: 2d work
This commit is contained in:
@ -8,7 +8,10 @@ class Position:
|
||||
self.location: float = location
|
||||
|
||||
def copy(self):
|
||||
return Position(self.location, self.time)
|
||||
try:
|
||||
return Position(self.location.copy(), self.time)
|
||||
except:
|
||||
return Position(self.location, self.time)
|
||||
|
||||
def to_dict(self):
|
||||
|
||||
|
Reference in New Issue
Block a user