voxelinc/voxellancer — pull request #283 by gersseba (2014-01-20 22:00:53+00:00)
Title: Fight

Basic Task: Fight
task uses a simple statemachine to switch between different behavioral states.
I also added a isInProgress() function which I would like to be added to the interface of tasks (basic & elevated), opinions?

Try turning of bulletdamage to ship while testing ;)
I added a space battle to the game.cpp (2 for loops, where you can set the number of enemies). The battle is nice for demo purposes but also for some performance testing close to actual game situations