penguins
1.0.0
|
Exists purely to wrap an array of the numbers of steps in every possible Direction.
Apparently in C you can't return an array from a function, but actually you can if it is wrapped in a struct!
Definition at line 35 of file movement.h.
Data Fields | |
int | steps [DIRECTION_MAX] |
int PossibleSteps::steps[DIRECTION_MAX] |
Definition at line 36 of file movement.h.
Referenced by BotState::bot_generate_all_moves_list(), Game::calculate_penguin_possible_moves(), and PlayerMovementController::update_tile_attributes().