Change unit Attack behaviour to a charge

All charges on a turn are evaluated at the same time, step by step
This commit is contained in:
Marc Di Luzio 2014-12-17 13:38:06 +00:00
parent 4b37246e53
commit 3fc1f5ee5d
4 changed files with 156 additions and 59 deletions

View file

@ -11,10 +11,10 @@
// Type for all orders ( as a char )
enum class command_c : char
{
F = 'F',
L = 'L',
R = 'R',
A = 'A',
F = 'F', // Move forward one square
L = 'L', // Turn left
R = 'R', // Turn right
A = 'A', // Attack forwards until a unit or edge of the arena is hit
NUM_INVALID
};