using Microsoft.Xna.Framework.Input; using Syntriax.Engine.Core.Abstract; namespace Syntriax.Engine.Input; public interface IKeyboardInputs : IAssignableStateEnable { void RegisterOnPress(Keys key, Action callback); void UnregisterOnPress(Keys key, Action callback); void RegisterOnRelease(Keys key, Action callback); void UnregisterOnRelease(Keys key, Action callback); bool IsPressed(Keys key); bool WasPressed(Keys key); }