Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/MouseAPI_FS19/src/modules/MouseAPI/mouseapiexample.h @ 12296

Last change on this file since 12296 was 12285, checked in by mkarpf, 6 years ago

Example Level with scaling

File size: 664 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/ControllableEntity.h"
10#include "core/CoreIncludes.h"
11#include <list>
12#include <stdlib.h>
13
14namespace orxonox
15{
16class MouseAPIExample : public ControllableEntity
17{
18public:
19    MouseAPIExample(Context *context);
20    ~MouseAPIExample();
21    virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
22    void testfunction(MouseButtonCode::ByEnum mouse);
23    static std::list<MouseAPIExample> blocks;
24};
25}
26#endif // MOUSEAPIEXAMPLE_H
Note: See TracBrowser for help on using the repository browser.