- Timestamp:
- Dec 2, 2013, 3:49:14 PM (11 years ago)
- Location:
- code/branches/wiimote/src/libraries/core/input
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wiimote/src/libraries/core/input/WiiMote.cc
r9851 r9853 3 3 //#include "core/command/ConsoleCommand.h" 4 4 #include <wiicpp/wiicpp/wiicpp.h> 5 #include <command/CommandExecutor.h>5 #include "core/command/CommandExecutor.h" 6 6 7 7 … … 22 22 if(p->Buttons.isPressed(CButtons::BUTTON_A)) 23 23 { 24 C E->execute("fire 0", 0, 0);24 CommandExecutor::execute("fire 0", 0, 0); 25 25 } 26 26 Orientation o; … … 59 59 lastOrientation.roll = 0; 60 60 lastOrientation.pitch = 0; 61 CE = &(CommandExecutor::getInstance()); 61 62 62 63 63 } -
code/branches/wiimote/src/libraries/core/input/WiiMote.h
r9851 r9853 9 9 namespace orxonox 10 10 { 11 12 class CommandExecutor;13 11 struct Orientation 14 12 { … … 42 40 CWiimote * p; 43 41 CWii * PWii; //parent "wii" the wiimote is registered to 44 CommandExecutor * CE;45 42 }; 46 43 };
Note: See TracChangeset
for help on using the changeset viewer.