kiigame / adventure_engine

KiiGame Adventure Engine
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

Refactor click/drag command resolution #142

Closed evktalo closed 3 years ago

evktalo commented 3 years ago

Refactor resolving clicks/drags (of game entity objects) into their own classes, with unit testing.

The aim here is to improve architecture so that rewards & secrets can go to Lätkäzombit neatly, instead of the main game engine. It'll also make similar game engine extensions easier to create in cleaner code. This is just one minor step.