Skip to content
Snippets Groups Projects
  • Florian Schröder's avatar
    dc8d7e4f
    Update player speed attribute and handle Enum serialization · dc8d7e4f
    Florian Schröder authored
    Renamed `move_dist` attribute to `player_speed_units_per_seconds` in player configuration. Also implemented `__post_init__` method in Action class to handle conversion from str to Enum type. Added a utility function `custom_asdict_factory` to handle Enum serialization for actions. Various code updates are made to accommodate these changes. Fixes merge bugs.
    dc8d7e4f
    History
    Update player speed attribute and handle Enum serialization
    Florian Schröder authored
    Renamed `move_dist` attribute to `player_speed_units_per_seconds` in player configuration. Also implemented `__post_init__` method in Action class to handle conversion from str to Enum type. Added a utility function `custom_asdict_factory` to handle Enum serialization for actions. Various code updates are made to accommodate these changes. Fixes merge bugs.