lzrtag / LZRTag

AVR-Based easily modifyable DIY Lasertag!
GNU General Public License v3.0
94 stars 11 forks source link

Split the Lasertag Player definition #41

Closed Xasin closed 5 years ago

Xasin commented 6 years ago

The current class is REALLY messy, combining various tasks together. It handles fairly low-level hardware communication as well as higher-level, sometimes even game-specific functions like Hitpoints in one, big, bulky class.

I propose to split the class up into a few levels, potentially into modules that can be combined together as needed to get the right player behaviour: