lzrtag / LZRTag

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

Add event hooks to allow for tightly integrated game handling #19

Closed Xasin closed 6 years ago

Xasin commented 6 years ago

This is basically the founding stone of #13, since it allows for the usage of Lasertag::Game itself as one of those hooks, giving the game itself just as much authority and control as the rest of the hooks.

Some functions might need to do a "loop-around" of sorts, whereas the Lasertag::Client should send some commands (especially like taking damage) back to the corresponding Lasertag::Game, which can then invoke the hooks.

The following hooks should be added: