source: flair-dev/trunk/include/FlairSimulator/Man.h@ 12

Last change on this file since 12 was 9, checked in by Sanahuja Guillaume, 9 years ago

lic

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