so://phie

freezo

A retro platform game
git clone git://soophie.de/freezo

blob: c340b62f5a34c0ee5323241d0994c7d442928bcc (367 bytes)[raw]

1#pragma once

2

3typedef struct Gate gate_t;

4

5#include "game.h"

6#include "util.h"

7

8struct Gate {

9 pos_t pos;

10 int enemy_max;

11 fz_timer_t *timer_spawn;

12 bool frozen;

13 int frozen_timer;

14};

15

16gate_t *gate_create(pos_t pos, int enemy_max, int time);

17void gate_update(gate_t *gate, game_t *game);

18void gate_draw(gate_t *gate, game_t *game);

19void gate_free(gate_t *gate);