Add attribute system with core stats and gameplay components
This commit is contained in:
16
GameCore/Input/InputStateComponent.cs
Normal file
16
GameCore/Input/InputStateComponent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user