Corewar documentation 1.0.0
|
The file containing the update functions. More...
#include "../../include/corewar.h"
Functions | |
void | update_program_counter (champion_t *champion, int value) |
Update the program counter of a champion. | |
void | update_carry (champion_t *champion, int value) |
Update the carry of a champion. | |
The file containing the update functions.
void update_carry | ( | champion_t * | champion, |
int | value ) |
Update the carry of a champion.
champion | The champion to update |
value | The value to check |
void update_program_counter | ( | champion_t * | champion, |
int | value ) |
Update the program counter of a champion.
champion | The champion to update |
value | The value to add to the program counter |