Add position for GameObject

This commit is contained in:
Kirill Samoylenkov 2025-10-29 23:24:04 +05:00
parent 73ceab624b
commit c78b85b05a

View file

@ -49,6 +49,10 @@ class GameObject:
def __init__(self):
"""Инициализация объекта."""
self.position_ = []
@property
def position(self):
return self.position_
def generate_random_position(self) -> list[int]:
"""