mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Camera shakers and controller action scripting
This commit is contained in:
22
Runtime/World/CScriptCameraShaker.hpp
Normal file
22
Runtime/World/CScriptCameraShaker.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef __URDE_CSCRIPTCAMERASHAKER_HPP__
|
||||
#define __URDE_CSCRIPTCAMERASHAKER_HPP__
|
||||
|
||||
#include "CEntity.hpp"
|
||||
#include "Camera/CCameraShakeData.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
class CScriptCameraShaker : public CEntity
|
||||
{
|
||||
CCameraShakeData x34_shakeData;
|
||||
public:
|
||||
CScriptCameraShaker(TUniqueId uid, const std::string& name, const CEntityInfo& info,
|
||||
bool active, const CCameraShakeData& shakeData);
|
||||
void Accept(IVisitor& visitor);
|
||||
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // __URDE_CSCRIPTCAMERASHAKER_HPP__
|
||||
Reference in New Issue
Block a user