Last change
on this file since 12373 was
12357,
checked in by peterf, 6 years ago
|
Improved formatting and added some comments to make the code more precise
|
File size:
517 bytes
|
Rev | Line | |
---|
[12304] | 1 | #ifndef _PacmanRed_H__ |
---|
| 2 | #define _PacmanRed_H__ |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | #include "PacmanGhost.h" |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | namespace orxonox { |
---|
| 9 | |
---|
| 10 | class _OrxonoxExport PacmanRed : public PacmanGhost{ |
---|
| 11 | |
---|
| 12 | public : |
---|
| 13 | PacmanRed(Context* context); |
---|
| 14 | |
---|
| 15 | virtual void tick(float dt) override; //!< Defines which actions the AutonomousDrone has to take in each tick. |
---|
| 16 | |
---|
| 17 | virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; |
---|
| 18 | |
---|
| 19 | void nextMove(Vector3 playerPos, Vector3 redPos); |
---|
| 20 | |
---|
| 21 | void mainBehaviourRed(); |
---|
| 22 | |
---|
[12318] | 23 | bool isNearPlayer; |
---|
[12304] | 24 | |
---|
[12316] | 25 | |
---|
[12318] | 26 | |
---|
[12304] | 27 | }; |
---|
| 28 | |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.