16 lines
491 B
C#
16 lines
491 B
C#
using GameCore.ECS.Interfaces;
|
|
using GameCore.Input.Interfaces;
|
|
using GameCore.Math;
|
|
|
|
namespace GameCore.Input;
|
|
|
|
public class InputStateComponent : IComponent, IInputService
|
|
{
|
|
public Vector3 MuzzlePosition { get; set; }
|
|
public Vector3 MuzzleDirection { get; set; }
|
|
public bool IsFiring { get; set; }
|
|
public bool IsInteracting { get; set; }
|
|
public bool IsJumping { get; set; }
|
|
public Vector3 MoveDirection { get; set; }
|
|
public Vector3 LookDirection { get; set; }
|
|
} |