diff options
Diffstat (limited to 'source/game/components/player')
| -rw-r--r-- | source/game/components/player/LocalPlayer.cs | 5 | ||||
| -rw-r--r-- | source/game/components/player/PlayerInput.cs | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/source/game/components/player/LocalPlayer.cs b/source/game/components/player/LocalPlayer.cs new file mode 100644 index 0000000..4780ec1 --- /dev/null +++ b/source/game/components/player/LocalPlayer.cs @@ -0,0 +1,5 @@ +namespace Celesteia.Game.Components.Player { + public class LocalPlayer { + public float JumpRemaining = .5f; + } +}
\ No newline at end of file diff --git a/source/game/components/player/PlayerInput.cs b/source/game/components/player/PlayerInput.cs new file mode 100644 index 0000000..96f3a57 --- /dev/null +++ b/source/game/components/player/PlayerInput.cs @@ -0,0 +1,14 @@ +using Celesteia.Game.Input.Conditions; + +namespace Celesteia.Game.Components.Player { + public class PlayerInput { + public ICondition<float> Horizontal; + public ICondition<bool> Run; + public ICondition<bool> Jump; + public ICondition<bool> Inventory; + public ICondition<bool> Crafting; + public ICondition<bool> Pause; + public ICondition<bool> PrimaryUse; + public ICondition<bool> SecondaryUse; + } +}
\ No newline at end of file |
