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:
parent
4b37246e53
commit
3fc1f5ee5d
4 changed files with 156 additions and 59 deletions
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue