mirror of
https://github.com/Bragin-Stepan/project-entity.git
synced 2026-03-05 07:41:10 +00:00
feat: add conditions
This commit is contained in:
@@ -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; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user