using Entitas; using Sog; namespace CoreGame.Render { [Combat] public class LogicTransformComponent : IComponent { public Fixed64Vector2 position; public Fixed64Vector2 scale; public Fixed64Vector2 forward; internal bool isStop = true; public void SetPosition(in Fixed64Vector2 pos) { position = pos; } public void SetDirection(in Fixed64Vector2 forwa) { forward = forwa; } public void AddPosition(Fixed64Vector2 deltaPos) { position += deltaPos; } } }