Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12273 was 12271, checked in by tkuonen, 6 years ago

Begin extending MouseAPI

File size: 624 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
12namespace orxonox
13{
14class MouseAPIExample : public ControllableEntity
15{
16public:
17    MouseAPIExample(Context *context);
18    ~MouseAPIExample();
19    virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
20    void testfunction(MouseButtonCode::ByEnum mouse);
21    virtual void tick(float dt) override;
22};
23}
24#endif // MOUSEAPIEXAMPLE_H
Note: See TracBrowser for help on using the repository browser.