metaforce/Runtime/Character/IMetaTrans.hpp

32 lines
695 B
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_IMETATRANS_HPP__
#define __URDE_IMETATRANS_HPP__
2015-08-22 01:58:41 +00:00
#include "../RetroTypes.hpp"
2016-03-04 23:04:53 +00:00
namespace urde
2015-08-22 01:58:41 +00:00
{
2016-04-10 21:22:59 +00:00
class CAnimTreeNode;
class CAnimSysContext;
enum class EMetaTransType
{
MetaAnim,
Trans,
PhaseTrans,
2016-04-11 03:59:54 +00:00
Snap
2016-04-10 21:22:59 +00:00
};
2015-08-22 01:58:41 +00:00
class IMetaTrans
{
2016-04-10 21:22:59 +00:00
public:
virtual ~IMetaTrans() = default;
virtual std::shared_ptr<CAnimTreeNode> VGetTransitionTree(const std::weak_ptr<CAnimTreeNode>& a,
const std::weak_ptr<CAnimTreeNode>& b,
const CAnimSysContext& animSys) const=0;
virtual EMetaTransType GetType() const=0;
2015-08-22 01:58:41 +00:00
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_IMETATRANS_HPP__