refactor: header file for every module
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef ROSE_H
|
||||
#define ROSE_H
|
||||
|
||||
#include <raylib.h>
|
||||
#include "engineSprite.h"
|
||||
#include "player.h"
|
||||
|
||||
#define ROSE_SCREEN_WIDTH_FRACTION 0.2f
|
||||
|
||||
typedef enum { ROSE, ROSE_TEX_COUNT } RoseTextureID;
|
||||
|
||||
typedef struct {
|
||||
Sprite sprite;
|
||||
} Rose;
|
||||
|
||||
Rose CreateRose(void);
|
||||
void UpdateRose(Rose *rose, Player *player);
|
||||
void RenderRose(Rose *rose);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user