Files
game-engine/src/game/ecs/component/physics/component_copy_mouse_position.h
2024-04-11 01:05:03 -04:00

30 lines
559 B
C

#pragma once
#include "component_physics.h"
#include "../../../input/input.h"
typedef struct ComponentCopyMousePosition
{
ECSComponent component;
} ComponentCopyMousePosition;
void component_copy_mouse_position_tick(ComponentCopyMousePosition* self, ECS* ecs);
static const ECSComponentInfo COMPONENT_COPY_MOUSE_POSITION_INFO =
{
.system =
{
.functions =
{
NULL,
NULL,
(ECSFunction)component_copy_mouse_position_tick,
NULL,
NULL
}
},
.type = ECS_COMPONENT_COPY_MOUSE_POSITION,
.size = sizeof(ComponentCopyMousePosition)
};