Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Begin extending MouseAPI

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