phxql / restwars

An online game (like the good old browsergames) which can be played via a REST interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve code for resource gathering buildings

phxql opened this issue · comments

At the moment it is hardcoded that only a crystal mine, gas refinery and solar panels gather resources. Refactor this to a more flexible approach, this will also ease feature request #71.