elmadev / elma-python

Elma Python Library
https://elma-python-library.readthedocs.org
MIT License
13 stars 2 forks source link

Add methods to read/write levels and replays #30

Closed tiinanen closed 4 years ago

tiinanen commented 4 years ago

As described in issue #22 this PR adds methods to save/load levels and replays more conveniently.

This PR also introduces some type hinting, which are not supported by Python 2. I'd like to add more type hinting and static type checking with mypy in following PRs to improve reliability and usability of the library (e.g. better autocomplete by IDEs).

Since Python 2 is not officially supported anymore, I think support for could be dropped in order to use more Python 3 features.