wavelength 1.0.0
Loading...
Searching...
No Matches
avatargemcatchaction.h
Go to the documentation of this file.
1#pragma once
2
4#include "script/dataarray.h"
5
14public:
21 ~AvatarGemCatchAction() override = default;
22
30 explicit AvatarGemCatchAction(DataArray *pAction);
31
38 void Exec() override;
39
40private:
41 // The mLane value that selects the lane of the event.
42 static constexpr int kEventLane = 5;
43
44 int mCatch;
45 int mLane;
46};
void Exec() override
Pass the lane and the flag to the avatar of TriggerMgr::mPlayer.
AvatarGemCatchAction(DataArray *pAction)
Read the action.
~AvatarGemCatchAction() override=default
Destroy the object.
Reference-counted array of script data nodes.
Definition dataarray.h:20
Something a trigger does when its conditions hold.
Definition triggeraction.h:15