added UI and a few components

This commit is contained in:
Nilton Constantino 2026-06-09 13:09:18 +01:00
parent 047e533133
commit 648bfcdb23
No known key found for this signature in database
105 changed files with 62 additions and 84 deletions

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 54f7a0c8663b4aa8ad10020a91ce7a1d
timeCreated: 1781006733

View File

@ -1,11 +1,11 @@
using Intrepid.GameManagers; using Intrepid.GameManagers;
using Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events; using Intrepid.Gameplay.Entities.Player.ActionBelt.Events;
using Intrepid.Gameplay.Entities.Sentinel.Tags; using Intrepid.Gameplay.Entities.Player.Tags;
using Intrepid.Utilities; using Intrepid.Utilities;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{ {
public class ActionBeltBoot : MonoBehaviour public class ActionBeltBoot : MonoBehaviour
{ {

View File

@ -1,12 +1,12 @@
using Intrepid.GameManagers; using Intrepid.GameManagers;
using Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events; using Intrepid.Gameplay.Entities.Player.ActionBelt.Events;
using Intrepid.Gameplay.Entities.Sentinel.Tags; using Intrepid.Gameplay.Entities.Player.Tags;
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
using Intrepid.Utilities; using Intrepid.Utilities;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{ {
public class ActionBeltManager : EventListener public class ActionBeltManager : EventListener
{ {

View File

@ -2,15 +2,15 @@ using System.Collections.Generic;
using Intrepid.Core.Entities; using Intrepid.Core.Entities;
using Intrepid.Core.Tags; using Intrepid.Core.Tags;
using Intrepid.GameManagers; using Intrepid.GameManagers;
using Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events; using Intrepid.Gameplay.Entities.Player.ActionBelt.Events;
using Intrepid.Gameplay.Entities.Sentinel.Tags; using Intrepid.Gameplay.Entities.Player.Tags;
using Intrepid.Localization; using Intrepid.Localization;
using Intrepid.Utilities; using Intrepid.Utilities;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
using UnityEngine; using UnityEngine;
using UnityEngine.Events; using UnityEngine.Events;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{ {
[RequireComponent(typeof(SphereCollider))] [RequireComponent(typeof(SphereCollider))]
public class ActionBeltTrigger : EntityTrigger public class ActionBeltTrigger : EntityTrigger
@ -50,9 +50,9 @@ namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt
ActionLocalization = actionLocalization, ActionLocalization = actionLocalization,
DescriptionLocalization = descriptionLocalization, DescriptionLocalization = descriptionLocalization,
DescriptionParams = Functions.GetParams(parameters), DescriptionParams = Functions.GetParams(parameters),
Callback = actionInfo => Callback = ActionIdentifier =>
{ {
callback?.Invoke(actionInfo); callback?.Invoke(ActionIdentifier);
return ActionCategory.Terminal.Equals(actionCategory) || shouldDropFromBeltWhenActivated; return ActionCategory.Terminal.Equals(actionCategory) || shouldDropFromBeltWhenActivated;
} }
} }

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{ {
public enum ActionCategory public enum ActionCategory
{ {

View File

@ -4,7 +4,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using Sirenix.OdinInspector; using Sirenix.OdinInspector;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{ {
[Serializable, DisplayAsString] [Serializable, DisplayAsString]
public class ActionEnvelope public class ActionEnvelope

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{ {
public class ActionIdentifier public class ActionIdentifier
{ {

View File

@ -1,7 +1,7 @@
using System.Linq; using System.Linq;
using Intrepid.Structures; using Intrepid.Structures;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{ {
public class ActionStackBelt : StackBelt<ActionEnvelope> public class ActionStackBelt : StackBelt<ActionEnvelope>
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltAddEvent : ActionBeltBaseEvent public class ActionBeltAddEvent : ActionBeltBaseEvent
{ {

View File

@ -1,7 +1,7 @@
using Intrepid.Gameplay.Entities.Sentinel.Tags; using Intrepid.Gameplay.Entities.Player.Tags;
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public abstract class ActionBeltBaseEvent : IEventBase public abstract class ActionBeltBaseEvent : IEventBase
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltClearEvent : ActionBeltBaseEvent public class ActionBeltClearEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltDisableEvent : ActionBeltBaseEvent public class ActionBeltDisableEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltDropEvent : ActionBeltBaseEvent public class ActionBeltDropEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltEnableEvent : ActionBeltBaseEvent public class ActionBeltEnableEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltNextLeftEvent : ActionBeltBaseEvent public class ActionBeltNextLeftEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltNextRightEvent : ActionBeltBaseEvent public class ActionBeltNextRightEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltRefreshEvent : ActionBeltBaseEvent public class ActionBeltRefreshEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltRemoveByIdAndTypeEvent : ActionBeltBaseEvent public class ActionBeltRemoveByIdAndTypeEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltRemoveByIdEvent : ActionBeltBaseEvent public class ActionBeltRemoveByIdEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltRemoveByTypeEvent : ActionBeltBaseEvent public class ActionBeltRemoveByTypeEvent : ActionBeltBaseEvent
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltTakeActionEvent : ActionBeltBaseEvent public class ActionBeltTakeActionEvent : ActionBeltBaseEvent
{ {

View File

@ -1,6 +1,6 @@
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltUICloseEvent : IEventBase public class ActionBeltUICloseEvent : IEventBase
{ {

View File

@ -1,6 +1,6 @@
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltUIDropEvent : IEventBase public class ActionBeltUIDropEvent : IEventBase
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltUIOpenEvent : IEventBase public class ActionBeltUIOpenEvent : IEventBase
{ {

View File

@ -1,6 +1,6 @@
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltUITakeActionEvent : IEventBase public class ActionBeltUITakeActionEvent : IEventBase
{ {

View File

@ -1,6 +1,6 @@
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltUIToLeftEvent : IEventBase public class ActionBeltUIToLeftEvent : IEventBase
{ {

View File

@ -1,6 +1,6 @@
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{ {
public class ActionBeltUIToRightEvent : IEventBase public class ActionBeltUIToRightEvent : IEventBase
{ {

View File

@ -3,7 +3,7 @@ using Intrepid.Core.Themes;
using Intrepid.Core.UI; using Intrepid.Core.UI;
using Intrepid.Core.UI.Dialog; using Intrepid.Core.UI.Dialog;
using Intrepid.GameManagers; using Intrepid.GameManagers;
using Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events; using Intrepid.Gameplay.Entities.Player.ActionBelt.Events;
using Intrepid.SimpleEvents; using Intrepid.SimpleEvents;
using Intrepid.Utilities; using Intrepid.Utilities;
using Intrepid.Utilities.Sprite; using Intrepid.Utilities.Sprite;
@ -11,7 +11,7 @@ using Sirenix.OdinInspector;
using TMPro; using TMPro;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.UI namespace Intrepid.Gameplay.Entities.Player.ActionBelt.UI
{ {
public class ActionBeltUI : EventListener public class ActionBeltUI : EventListener
{ {

View File

@ -1,13 +1,13 @@
using System; using System;
using Intrepid.Core.Entities; using Intrepid.Core.Entities;
using Intrepid.Core.Entities.Messages; using Intrepid.Core.Entities.Messages;
using Intrepid.Gameplay.Entities.Sentinel.StateMachine; using Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine;
using Intrepid.Integration.Input; using Intrepid.Integration.Input;
using Intrepid.Structures; using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel namespace Intrepid.Gameplay.Entities.Player.Sentinel
{ {
public class SentinelBrain : EntityBrain public class SentinelBrain : EntityBrain
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel namespace Intrepid.Gameplay.Entities.Player.Sentinel
{ {
public static class SentinelConstants public static class SentinelConstants
{ {

View File

@ -1,7 +1,7 @@
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel namespace Intrepid.Gameplay.Entities.Player.Sentinel
{ {
public class SentinelControls : MonoBehaviour public class SentinelControls : MonoBehaviour
{ {

View File

@ -4,7 +4,7 @@ using Intrepid.Gameplay.Messages.Events;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel namespace Intrepid.Gameplay.Entities.Player.Sentinel
{ {
public class SentinelEntity : Entity public class SentinelEntity : Entity
{ {

View File

@ -1,7 +1,7 @@
using System; using System;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel namespace Intrepid.Gameplay.Entities.Player.Sentinel
{ {
public class SentinelInputs public class SentinelInputs
{ {

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel namespace Intrepid.Gameplay.Entities.Player.Sentinel
{ {
public enum SentinelStateType public enum SentinelStateType
{ {

View File

@ -1,6 +1,6 @@
using Intrepid.Core.Entities; using Intrepid.Core.Entities;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine
{ {
public abstract class SentinelState : EntityState<SentinelStateType, SentinelState>, IControllableEntityBrain public abstract class SentinelState : EntityState<SentinelStateType, SentinelState>, IControllableEntityBrain
{ {

View File

@ -1,6 +1,6 @@
using Intrepid.Core.Entities; using Intrepid.Core.Entities;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine
{ {
public class SentinelStateMachine : EntityStateMachine<SentinelStateType, SentinelState> public class SentinelStateMachine : EntityStateMachine<SentinelStateType, SentinelState>
{ {

View File

@ -3,7 +3,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateDash : SentinelState public class SentinelStateDash : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateDashBreaking : SentinelState public class SentinelStateDashBreaking : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateDashWindow : SentinelState public class SentinelStateDashWindow : SentinelState
{ {

View File

@ -4,7 +4,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateFall : SentinelState public class SentinelStateFall : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateFallLanding : SentinelState public class SentinelStateFallLanding : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateFallToAbyss : SentinelState public class SentinelStateFallToAbyss : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateIdle : SentinelState public class SentinelStateIdle : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateKnockdown : SentinelState public class SentinelStateKnockdown : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateRun : SentinelState public class SentinelStateRun : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using Intrepid.Structures;
using Intrepid.Utilities; using Intrepid.Utilities;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.StateMachine.States namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
{ {
public class SentinelStateWalk : SentinelState public class SentinelStateWalk : SentinelState
{ {

View File

@ -2,7 +2,7 @@ using System;
using Intrepid.TagSystem; using Intrepid.TagSystem;
using UnityEngine; using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.Tags namespace Intrepid.Gameplay.Entities.Player.Tags
{ {
[Serializable] [Serializable]
[CreateAssetMenu(fileName = "New Action Belt Manager Tag", menuName = "GON/Tags/Action Belt Manager Tag")] [CreateAssetMenu(fileName = "New Action Belt Manager Tag", menuName = "GON/Tags/Action Belt Manager Tag")]

Some files were not shown because too many files have changed in this diff Show More