Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

orxonox/trunk: working on an alternativ flight mode and a new event handlig system at the same time. crazy…

File size: 987 bytes
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
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}
Note: See TracBrowser for help on using the repository browser.