so://phie

freezo

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

blob: 5b644d6fc07e752039be3a159f78f223a43de77d (364 bytes)[doc][blame][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 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);