22 lines
514 B
C
22 lines
514 B
C
#ifndef TRANSFORM_COMPONENT_H
|
|
#define TRANSFORM_COMPONENT_H
|
|
|
|
#include "ecs.h"
|
|
#include "vector2d.h"
|
|
#include "errors.h"
|
|
|
|
typedef struct transform_component_data_t {
|
|
frect_t bounds;
|
|
} transform_component_data_t;
|
|
|
|
int transform_component_init(component_t *component);
|
|
|
|
int transform_component_update(component_t *component);
|
|
|
|
#if DEBUG >= 2
|
|
int transform_component_draw(const component_t *component);
|
|
#endif // DEBUG >= 2
|
|
|
|
int transform_component_destroy(component_t *component);
|
|
|
|
#endif // TRANSFORM_COMPONENT_H
|