Last change
on this file since 12380 was
12380,
checked in by rueegseb, 5 years ago
|
laser appears after five pointsphere are eaten
|
File size:
740 bytes
|
Rev | Line | |
---|
[12365] | 1 | #ifndef _PacmanLaser_H__ |
---|
| 2 | #define _PacmanLaser_H__ |
---|
| 3 | |
---|
| 4 | #include "OrxonoxPrereqs.h" |
---|
| 5 | |
---|
| 6 | #include "core/XMLPort.h" |
---|
| 7 | |
---|
| 8 | #include "worldentities/ControllableEntity.h" |
---|
| 9 | |
---|
| 10 | namespace orxonox { |
---|
| 11 | |
---|
| 12 | class _OrxonoxExport PacmanLaser : public ControllableEntity |
---|
| 13 | { |
---|
| 14 | public: |
---|
| 15 | PacmanLaser(Context* context); |
---|
| 16 | virtual ~PacmanLaser(); |
---|
| 17 | |
---|
| 18 | virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating an AutonomousDrone through XML. |
---|
| 19 | virtual void tick(float dt); //!< Defines which actions the AutonomousDrone has to take in each tick. |
---|
| 20 | |
---|
[12380] | 21 | void resetPacmanLaser(); |
---|
| 22 | |
---|
[12365] | 23 | |
---|
| 24 | private: |
---|
| 25 | |
---|
| 26 | Vector3 resetposition; |
---|
| 27 | |
---|
| 28 | }; |
---|
| 29 | |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.