|
Last change
on this file since 12258 was
12255,
checked in by mkarpf, 7 years ago
|
|
Test Level Created
Carefull: Level is buggy and freezes Screen!
|
|
File size:
593 bytes
|
| Line | |
|---|
| 1 | #ifndef MOUSEAPIEXAMPLE_H |
|---|
| 2 | #define MOUSEAPIEXAMPLE_H |
|---|
| 3 | |
|---|
| 4 | #include "OrxonoxPrereqs.h" |
|---|
| 5 | #include "core/XMLPort.h" |
|---|
| 6 | #include "mouseapi.h" |
|---|
| 7 | #include "util/output/OutputManager.h" |
|---|
| 8 | #include "util/output/ConsoleWriter.h" |
|---|
| 9 | #include "worldentities/StaticEntity.h" |
|---|
| 10 | #include "core/CoreIncludes.h" |
|---|
| 11 | |
|---|
| 12 | namespace orxonox |
|---|
| 13 | { |
|---|
| 14 | class MouseAPIExample : public StaticEntity |
|---|
| 15 | { |
|---|
| 16 | public: |
|---|
| 17 | MouseAPIExample(Context *context); |
|---|
| 18 | ~MouseAPIExample(); |
|---|
| 19 | virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); |
|---|
| 20 | MouseAPI mouseapi; |
|---|
| 21 | void testfunction(MouseButtonCode::ByEnum mouse); |
|---|
| 22 | }; |
|---|
| 23 | } |
|---|
| 24 | #endif // MOUSEAPIEXAMPLE_H |
|---|
Note: See
TracBrowser
for help on using the repository browser.