Tank Elf
[Example Tank]

Tank elf module provides control functions of tanks in game. More...

Classes

struct  _tank
 Information about a tank elf. More...
static tank_ttank_new (coord_t *coord_pos, coord_t *coord_rot, int map_x, int map_y, tank_rt_t *tank_rt)

Typedefs

typedef struct _tank tank_t

Enumerations

enum  { TD_UP = 0, TD_RIGHT, TD_DOWN, TD_LEFT }

Detailed Description

Tank elf module provides control functions of tanks in game.


Typedef Documentation

typedef struct _tank tank_t

Definition at line 89 of file tank_main.c.


Enumeration Type Documentation

anonymous enum

Enumerator:
TD_UP 
TD_RIGHT 
TD_DOWN 
TD_LEFT 

Definition at line 90 of file tank_main.c.


Function Documentation

static tank_t* tank_new ( coord_t coord_pos,
coord_t coord_rot,
int  map_x,
int  map_y,
tank_rt_t tank_rt 
) [static]

Definition at line 116 of file tank_main.c.

SourceForge.net Logo