spike do nothing

This commit is contained in:
kdx 2023-03-19 01:28:54 +01:00
parent a9952fb491
commit b859924fe6
3 changed files with 20 additions and 1 deletions

View File

@ -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;

11
src/spike.c Normal file
View File

@ -0,0 +1,11 @@
#include "entityimpl.h"
IMPL_UPDATE() {
} IMPL_END
IMPL_DRAW() {
} IMPL_END
IMPL_INIT(spike) {
} IMPL_END

6
src/spike.h Normal file
View File

@ -0,0 +1,6 @@
#pragma once
struct Entity;
struct Game;
struct Entity *spike_init(struct Entity *this, int x, int y);