Mercurial > repos > genjam1
view src/creep.h @ 8:2fde9ab7308f
Merge
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 12 Jan 2014 15:23:20 -0800 |
parents | 3ed112d64b1b |
children | c0bb53eaa6f4 |
line wrap: on
line source
#ifndef CREEP_H_ #define CREEP_H_ enum { CREEP_NORMAL = 0 } creep_species; typedef struct { u16 index; u16 health; u8 species; u8 direction; } creep; #define MAX_CREEPS 40 extern u16 cur_creeps; u16 spawn_creep(u8 species, s16 x, s16 y); #endif //CREEP_H_