feat: add conditions

This commit is contained in:
Bragin Stepan
2026-02-19 20:46:32 +05:00
parent 4f01e66894
commit e07bde989a
17 changed files with 242 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
using _Project.Develop.Runtime.Entities;
using _Project.Develop.Runtime.Utilities.Conditions;
using _Project.Develop.Runtime.Utils.ReactiveManagement;
using UnityEngine;
@@ -6,9 +7,13 @@ namespace _Project.Develop.Runtime.Logic.Gameplay.Features.Movement
{
public class MoveDirection : IEntityComponent { public ReactiveVariable<Vector3> Value; }
public class MoveSpeed : IEntityComponent { public ReactiveVariable<float> Value; }
public class IsMoving : IEntityComponent { public ReactiveVariable<bool> Value; }
public class CanMove : IEntityComponent { public ICompositeCondition Value; }
public class RotateDirection : IEntityComponent { public ReactiveVariable<Vector3> Value; }
public class RotationSpeed : IEntityComponent { public ReactiveVariable<float> Value; }
public class CanRotate : IEntityComponent { public ICompositeCondition Value; }
public class JumpForce : IEntityComponent { public ReactiveVariable<float> Value; }
}