metaforce/Runtime/Character/IMetaTrans.hpp

32 lines
699 B
C++
Raw Normal View History

2016-02-13 09:02:47 +00:00
#ifndef __PSHAG_IMETATRANS_HPP__
#define __PSHAG_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,
Snap,
};
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-02-13 09:02:47 +00:00
#endif // __PSHAG_IMETATRANS_HPP__