Last change
on this file since 15 was 13, checked in by Bayard Gildas, 9 years ago |
formatting script + include reformatted
|
File size:
1.1 KB
|
Rev | Line | |
---|
[9] | 1 | // %flair:license{
|
---|
[13] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[9] | 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 |
|
---|
[13] | 22 | namespace irr {
|
---|
| 23 | namespace scene {
|
---|
| 24 | class IAnimatedMeshSceneNode;
|
---|
[8] | 25 | }
|
---|
[13] | 26 | }
|
---|
[8] | 27 |
|
---|
[13] | 28 | namespace flair {
|
---|
| 29 | namespace gui {
|
---|
| 30 | class DoubleSpinBox;
|
---|
[8] | 31 | }
|
---|
[13] | 32 | }
|
---|
[8] | 33 |
|
---|
[13] | 34 | namespace flair {
|
---|
| 35 | namespace simulator {
|
---|
| 36 | class Simulator;
|
---|
[8] | 37 |
|
---|
[13] | 38 | class Man : private Model {
|
---|
| 39 | public:
|
---|
| 40 | Man(const Simulator *parent, std::string name);
|
---|
| 41 | ~Man();
|
---|
[8] | 42 |
|
---|
[13] | 43 | private:
|
---|
| 44 | size_t dbtSize(void) const;
|
---|
| 45 | void WritedbtBuf(char *dbtbuf);
|
---|
| 46 | void ReaddbtBuf(char *dbtbuf);
|
---|
| 47 | void CalcModel(void);
|
---|
| 48 | void AnimateModel(void){};
|
---|
| 49 | bool OnEvent(const irr::SEvent &event);
|
---|
[8] | 50 |
|
---|
[13] | 51 | irr::scene::IAnimatedMeshSceneNode *node;
|
---|
| 52 | gui::DoubleSpinBox *t_speed, *r_speed;
|
---|
| 53 | };
|
---|
[8] | 54 | } // end namespace simulator
|
---|
| 55 | } // end namespace flair
|
---|
| 56 | #endif // MAN_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.