Closed Blackbluue closed 3 weeks ago
This pull request introduces a playable character (Atron) to the game, refactors the map handling logic, and updates the GUI to accommodate the new character. The changes include modifications to the map data structure, the main game controller, the dashboard, and the tile representation. Additionally, new files for the player unit and game data management are added.
Files | Changes |
---|---|
utils/map.py utils/tile.py utils/context.py utils/icon.py |
Refactored map data structure and tile representation to support new Atron character and updated context handling. |
gui/main_controller.py gui/dashboard.py gui/graphic_tile.py gui/label_counter.py |
Updated GUI components to accommodate new Atron character and refactored game state management using GameData. |
units/ally/atron.py units/ally/drones/drone.py units/ally/overlord.py units/ally/player.py |
Introduced Atron character, refactored existing units to inherit from Atron, and added new Player class. |
main.py utils/counter.py utils/game_data.py utils/icon_var.py |
Added new utility classes and updated main function to handle command line arguments for map directory. |
Closes #2
Summary by Sourcery
This pull request introduces a new playable character class 'Player' and refactors the game state management with a new 'GameData' class. It also enhances the map generation and tile representation, and updates the dashboard to display additional game metrics.