Free Electron
Puppeteer.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __godot_Puppeteer_h__
8 #define __godot_Puppeteer_h__
9 
10 /**************************************************************************//**
11  @brief Skeleton Modifier
12 
13  @ingroup godot
14 *//***************************************************************************/
15 class FE_DL_EXPORT Puppeteer: public Node
16 {
17  GDCLASS(Puppeteer, Node);
18 
19  public:
20 
21  Puppeteer(void);
22  ~Puppeteer(void);
23 
24 virtual void _notification(int p_notification);
25 
26 virtual void postinitialize(void);
27 virtual void process(float delta);
28 
29  protected:
30 
31 static void _bind_methods(void);
32 
33  private:
34 
35  void modify(void);
36 
37  void set_skeleton(const NodePath &a_skeletonPath);
38  NodePath get_skeleton(void) const;
39 
40  fe::sp<fe::SingleMaster> m_spSingleMaster;
41  NodePath m_skeletonPath;
42 };
43 
44 #endif /* __godot_Puppeteer_h__ */
Skeleton Modifier.
Definition: Puppeteer.h:15