Player state
This commit is contained in:
@ -2,6 +2,8 @@ from __future__ import annotations
|
||||
|
||||
from pydantic import BaseModel as PydanticBaseModel
|
||||
|
||||
from hopper.enums import PlayerState
|
||||
|
||||
|
||||
class BaseModel(PydanticBaseModel):
|
||||
class Config:
|
||||
@ -29,6 +31,7 @@ class PlayerDto(BaseModel):
|
||||
position: PositionDto
|
||||
move_count: int
|
||||
move_attempt_count: int
|
||||
state: PlayerState
|
||||
|
||||
|
||||
class DestinationDto(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user