|
#include "defs.h"
|
|
|
|
int canmove(lifeform_t *lf, int dir, enum ERROR *error);
|
|
void dorandommove(lifeform_t *lf);
|
|
int dowait(lifeform_t *lf);
|
|
void movelf(lifeform_t *lf, cell_t *newcell);
|
|
int moveto(lifeform_t *lf, cell_t *newcell);
|
|
int trymove(lifeform_t *lf, int dir);
|