diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-08-24 19:11:26 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-08-24 19:16:22 -0700 |
| commit | a0a2068b66204d7d06eb3c3b4aa61b28469121f6 (patch) | |
| tree | e9706970af1ce8b4d12df9c0a3f64fa17ca74b97 /kennel/engine/components/position.py | |
| parent | b144ad5df76e458297bd6dc030cad4af0f344901 (diff) | |
| download | kennel.hatecomputers.club-a0a2068b66204d7d06eb3c3b4aa61b28469121f6.tar.gz kennel.hatecomputers.club-a0a2068b66204d7d06eb3c3b4aa61b28469121f6.zip | |
improve event parsing and begin sending events from the client
Diffstat (limited to 'kennel/engine/components/position.py')
| -rw-r--r-- | kennel/engine/components/position.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kennel/engine/components/position.py b/kennel/engine/components/position.py index 2a4da4a..5c5b372 100644 --- a/kennel/engine/components/position.py +++ b/kennel/engine/components/position.py @@ -10,5 +10,5 @@ class Position(Component): def __repr__(self) -> str: return f"Position(x={self.x}, y={self.y})" - def dict(self) -> dict: + def to_dict(self) -> dict: return {"x": self.x, "y": self.y} |
