Repository navigation
version 0.2a
Improved OOP approach:
- game_session unit is a base data storage of game session. All actions make changes with elements inside it.
- Global hierarchy of classes: Space_object, Weapon_shell(Space_object), Laser(Weapon_shell), Ship(Space_object), Player(Ship), Enemy(Ship). Reduced code.
- Lasers and other weapon shells do not belong ship object anymore. Now, if you defeat an enemy, his laser will still go on (previously - disappeared).
- laser movement is calculated in dedicated block in main
- version is updated to 0.2a