PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
wld_player_portrait.h
1 #ifndef WLD_PLAYER_PORTRAIT_H
2 #define WLD_PLAYER_PORTRAIT_H
3 
4 #include <data_configs/obj_player.h>
5 #include <common_features/matrix_animator.h>
6 
8 {
9 public:
11  WorldScene_Portrait(int CharacterID, int stateID, int _posX, int _posY, QString ani, int framedelay, int dir);
14  void render();
15  void update(float ticks);
16 private:
17  int posX;
18  int posY;
19  int posX_render;
20  int posY_render;
21  obj_player setup;
22  obj_player_state state_cur;
23  MatrixAnimator animator;
24  PGE_Texture texture;
25  int frameW;
26  int frameH;
27 };
28 
29 #endif // WLD_PLAYER_PORTRAIT_H
30 
Definition: pge_texture.h:32
Definition: obj_player.h:103
Definition: wld_player_portrait.h:7
Definition: obj_player.h:75
Definition: matrix_animator.h:40