A retro platform game
git clone git://soophie.de/freezo
blob: c340b62f5a34c0ee5323241d0994c7d442928bcc (367 bytes)[raw]
1
#pragma once3
typedef struct Gate gate_t;5
#include "game.h"6
#include "util.h"8
struct Gate {9
pos_t pos;10
int enemy_max;11
fz_timer_t *timer_spawn;12
bool frozen;13
int frozen_timer;14
};16
gate_t *gate_create(pos_t pos, int enemy_max, int time);17
void gate_update(gate_t *gate, game_t *game);18
void gate_draw(gate_t *gate, game_t *game);19
void gate_free(gate_t *gate);