17 lines
360 B
C
17 lines
360 B
C
#ifndef CREAM_RING
|
|
#define CREAM_RING
|
|
#include "../States.h"
|
|
|
|
bool cring_init(Server* server, Entity* entity);
|
|
bool cring_uninit(Server* server, Entity* entity);
|
|
|
|
typedef struct
|
|
{
|
|
ENTITY_BODY
|
|
|
|
uint8_t rid;
|
|
uint8_t red;
|
|
} CreamRing;
|
|
#define MakeCreamRing(x, y, red) ((CreamRing) { MakeEntity("cring", x, y) cring_init, NULL, cring_uninit, 255, red })
|
|
|
|
#endif |