Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/coord/pilot_node.cc @ 4422

Last change on this file since 4422 was 4422, checked in by patrick, 19 years ago

orxonox/trunk: work on pilot node continued

File size: 1.0 KB
Line 
1
2
3/*
4   orxonox - the future of 3D-vertical-scrollers
5
6   Copyright (C) 2004 orx
7
8   This program is free software; you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation; either version 2, or (at your option)
11   any later version.
12
13   ### File Specific:
14   main-programmer: Patrick Boenzli
15   co-programmer: ...
16*/
17
18
19#include "pilot_node.h"
20#include "command_node.h"
21#include "event.h"
22
23using namespace std;
24
25
26/**
27   \brief standard constructor
28
29   \todo this constructor is not jet implemented - do it
30*/
31PilotNode::PilotNode () 
32{
33   this->setClassID(CL_PILOT_PARENT, "PilotNode");
34
35   
36}
37
38
39/**
40   \brief standard deconstructor
41
42   \todo this deconstructor is not jet implemented - do it
43*/
44PilotNode::~PilotNode () 
45{
46
47}
48
49
50void PilotNode::command(Command* cmd)
51{
52
53
54  //this->setAbsDir(Quaternion(M_PI * 0.4, Vector(1, 0, 0)));
55}
56
57
58void PilotNode::process( const Event &event)
59{
60  PRINTF(0)("Mouse moved by %d,%d to (%d,%d)\n", event.xRel, event.yRel,
61         event.x, event.y);
62}
Note: See TracBrowser for help on using the repository browser.