nexus/move.h

9 lines
268 B
C
Raw Normal View History

2010-12-02 12:17:54 +11:00
#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);