Commit Graph

8 Commits

Author SHA1 Message Date
Martysh12 1a1e8efef8 Moved module to a different file
Moved module to a different file and created a main script.
2021-12-19 21:16:34 +02:00
John McCardle 1720ee3bbc remove behavior from abstract base method 2021-12-19 14:11:20 -05:00
Martysh12 9eb29fc7cc Changed the naming a bit
Changed the naming a bit
2021-12-19 21:05:25 +02:00
Martysh12 6e5dd7eab4 Introduced Abstract Base Classes
Introduced Abstract Base Classes to ease the process of adding another platform.

Also some minor documentation.
2021-12-19 21:01:11 +02:00
Martysh12 bfcb0650e6 Changed os.name to platform.system()
Changed os.name to platform.system() because platform.system() is much more reliable, and is easy to check for different system.

Also added a check for linux.
2021-12-19 20:29:38 +02:00
Martysh12 b5c4bbcdd9 Added simple documentation and a shebang
Added simple documentation and a shebang and fixed a simple error at line 32.
2021-12-19 20:26:08 +02:00
Martysh12 555ecfa7a3 Added newlines and sorted imports
Added newlines and sorted imports according to PEP-8.
2021-12-19 20:18:07 +02:00
John McCardle 3f9af5012c Cross-platform basics on capturing the game screen to a PIL image. 2021-12-19 13:02:58 -05:00