2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 20:31:21 +00:00
metaforce/Runtime/Character/CTransitionManager.hpp
Lioncash 39b561b089 CTransitionManager: std::move constructor parameters where applicable
Allows calling code to move into the constructor
2020-03-09 11:58:10 -04:00

24 lines
589 B
C++

#pragma once
#include <memory>
#include "Runtime/CToken.hpp"
#include "Runtime/Character/CAnimSysContext.hpp"
namespace urde {
class CAnimTreeNode;
class CRandom16;
class CSimplePool;
class CTransitionDatabaseGame;
class CTransitionManager {
CAnimSysContext x0_animCtx;
public:
explicit CTransitionManager(CAnimSysContext sysCtx) : x0_animCtx(std::move(sysCtx)) {}
std::shared_ptr<CAnimTreeNode> GetTransitionTree(const std::shared_ptr<CAnimTreeNode>& a,
const std::shared_ptr<CAnimTreeNode>& b) const;
};
} // namespace urde