Burp
|
#include "ui.h"
Functions | |
void | eraseArena () |
void | printRobot (robot *rob) |
void | printRocket (missile *rocket) |
void | printInfoRobot (robot *rob) |
void | add_action (char *action, int id) |
void | anim_begin () |
void | end_screen (robot *robot) |
void | add_log (char *message) |
void | updateArena (arena *arena) |
void | init () |
int | quit () |
void add_action | ( | char * | action, |
int | id | ||
) |
Add an action
void add_log | ( | char * | message | ) |
Add a message to the log
void anim_begin | ( | ) |
Launch the begin animation
void end_screen | ( | robot * | robot | ) |
Draw the end screen
void eraseArena | ( | ) |
Erase the arena
void init | ( | ) |
Init function that launch ui
void printInfoRobot | ( | robot * | rob | ) |
Print a robot information
void printRobot | ( | robot * | rob | ) |
Print a robot in the arena If the case is already used, then write on another case following this order : 5 4#2 3
void printRocket | ( | missile * | rocket | ) |
Print a rocket in the arena Works the same as printRobot()
int quit | ( | ) |
Quit Ncurses
void updateArena | ( | arena * | arena | ) |
Update the arena, and the info with data in the arena