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.Gameplay.Entities.Sentinel.ActionBelt.Events;
using Intrepid.Gameplay.Entities.Sentinel.Tags;
using Intrepid.Gameplay.Entities.Player.ActionBelt.Events;
using Intrepid.Gameplay.Entities.Player.Tags;
using Intrepid.Utilities;
using Sirenix.OdinInspector;
using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt
namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{
public class ActionBeltBoot : MonoBehaviour
{

View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
using System.Linq;
using Intrepid.Structures;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt
namespace Intrepid.Gameplay.Entities.Player.ActionBelt
{
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
{

View File

@ -1,7 +1,7 @@
using Intrepid.Gameplay.Entities.Sentinel.Tags;
using Intrepid.Gameplay.Entities.Player.Tags;
using Intrepid.SimpleEvents;
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events
namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{
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
{

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events
namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{
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
{

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events
namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{
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
{

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events
namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{
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
{

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events
namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{
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
{

View File

@ -1,4 +1,4 @@
namespace Intrepid.Gameplay.Entities.Sentinel.ActionBelt.Events
namespace Intrepid.Gameplay.Entities.Player.ActionBelt.Events
{
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
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,13 +1,13 @@
using System;
using Intrepid.Core.Entities;
using Intrepid.Core.Entities.Messages;
using Intrepid.Gameplay.Entities.Sentinel.StateMachine;
using Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine;
using Intrepid.Integration.Input;
using Intrepid.Structures;
using Intrepid.Utilities;
using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel
namespace Intrepid.Gameplay.Entities.Player.Sentinel
{
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
{

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
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
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@ using System;
using Intrepid.TagSystem;
using UnityEngine;
namespace Intrepid.Gameplay.Entities.Sentinel.Tags
namespace Intrepid.Gameplay.Entities.Player.Tags
{
[Serializable]
[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