spike do nothing
This commit is contained in:
parent
a9952fb491
commit
b859924fe6
|
@ -2,6 +2,7 @@
|
|||
#include "player.h"
|
||||
#include "exit.h"
|
||||
#include "deathpart.h"
|
||||
#include "spike.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
struct Game;
|
||||
|
@ -10,7 +11,8 @@ enum {
|
|||
ET_NONE,
|
||||
ET_player,
|
||||
ET_exit,
|
||||
ET_deathpart
|
||||
ET_deathpart,
|
||||
ET_spike,
|
||||
};
|
||||
|
||||
typedef struct Entity Entity;
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
#include "entityimpl.h"
|
||||
|
||||
IMPL_UPDATE() {
|
||||
} IMPL_END
|
||||
|
||||
IMPL_DRAW() {
|
||||
|
||||
} IMPL_END
|
||||
|
||||
IMPL_INIT(spike) {
|
||||
} IMPL_END
|
|
@ -0,0 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
struct Entity;
|
||||
struct Game;
|
||||
|
||||
struct Entity *spike_init(struct Entity *this, int x, int y);
|
Loading…
Reference in New Issue