source: flair-src/trunk/lib/FlairSimulator/src/Man.h@ 8

Last change on this file since 8 was 8, checked in by Sanahuja Guillaume, 6 years ago

simulator

File size: 1.1 KB
Line 
1// created: 2013/04/15
2// filename: Man.h
3//
4// author: Guillaume Sanahuja
5// Copyright Heudiasyc UMR UTC/CNRS 7253
6//
7// version: $Id: $
8//
9// purpose: classe chargeant un personnage
10//
11/*********************************************************************/
12
13#ifndef MAN_H
14#define MAN_H
15
16#include <Model.h>
17
18namespace irr
19{
20 namespace scene
21 {
22 class IAnimatedMeshSceneNode;
23 }
24}
25
26namespace flair
27{
28 namespace gui
29 {
30 class DoubleSpinBox;
31 }
32}
33
34namespace flair
35{
36namespace simulator
37{
38 class Simulator;
39
40 class Man: private Model
41 {
42 public:
43 Man(const Simulator* parent,std::string name);
44 ~Man();
45
46 private:
47 size_t dbtSize(void) const;
48 void WritedbtBuf(char* dbtbuf);
49 void ReaddbtBuf(char* dbtbuf);
50 void CalcModel(void);
51 void AnimateModel(void){};
52 bool OnEvent(const irr::SEvent& event);
53
54 irr::scene::IAnimatedMeshSceneNode* node;
55 gui::DoubleSpinBox *t_speed,*r_speed;
56 };
57} // end namespace simulator
58} // end namespace flair
59#endif // MAN_H
Note: See TracBrowser for help on using the repository browser.