cleanup
This commit is contained in:
parent
ba3824bac4
commit
22d03e26b6
20
bullet.h
20
bullet.h
|
@ -1,20 +0,0 @@
|
|||
#pragma once
|
||||
#include "type.h"
|
||||
|
||||
struct Bullet {
|
||||
struct Vec2 pos;
|
||||
int v;
|
||||
int active;
|
||||
};
|
||||
|
||||
struct Bullet_table {
|
||||
int n;
|
||||
struct Bullet *bullets;
|
||||
};
|
||||
|
||||
void bullet_table_init(void);
|
||||
void bullet_table_update(void);
|
||||
void bullet_table_draw(int timer);
|
||||
void bullet_destroy(struct Bullet *bullet);
|
||||
void bullet_fire(int x, int y, int v);
|
||||
int bullet_nb(void);
|
Loading…
Reference in New Issue