#pragma once #ifndef TP_INTERNAL_COMPONENTS_GUARD #error Include Components.h instead #endif #include struct LocalAnimationComponent { Vector Actions; ActionEvent LastProcessedAction; [[nodiscard]] Outcome GetLatestAction() const noexcept { if (Actions.empty()) return false; return Actions[Actions.size() - 1]; } void Append(const ActionEvent& acEvent) noexcept { Actions.push_back(acEvent); } };