Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: further work on debug level

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   \brief standard deconstructor
39
40   \todo this deconstructor is not jet implemented - do it
41*/
42PilotNode::~PilotNode () 
43{
44
45}
46
47
48void PilotNode::command(Command* cmd)
49{
50  printf("Mouse moved by %d,%d to (%d,%d)\n", 
51         cmd->xrel, cmd->yrel,
52         cmd->x, cmd->y);
53
54  //this->setAbsDir(Quaternion(M_PI * 0.4, Vector(1, 0, 0)));
55}
56
57
58void PilotNode::process( const Event &event)
59{
60
61}
Note: See TracBrowser for help on using the repository browser.