Changeset 12364 for code/branches/OrxoBlox_FS19/src/modules/OrxoBlox
- Timestamp:
- May 9, 2019, 4:22:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxBall.cc
r12361 r12364 45 45 #include "sound/WorldSound.h" 46 46 #include "core/XMLPort.h" 47 #include "core/input/InputManager.h" 47 48 48 49 … … 165 166 //Input new speed here: 166 167 //ChatManager::message("Setting new speed"); 167 168 169 //%%%%%%%%%%%% 170 //MAUSPOSITION 171 //%%%%%%%%%%%% 172 //Reads current mouse position 173 //TODO: read Mouse position on click! 174 //int mousex = InputManager::getInstance().getMousePosition().first; 175 //int mousey = InputManager::getInstance().getMousePosition().second; 176 //ChatManager::message("Read mouse position"); 177 //orxout() << "Mouseposition" << endl; 178 //orxout() << mousex << endl; 179 //ChatManager::message(mousex); 180 //ChatManager::message("mousey"); 181 //ChatManager::message(mousey); 168 182 //Set new speed here!! 169 183 velocity.x = rnd(-100,100); 170 velocity.z = rnd(-10,-100); 171 184 velocity.z = rnd(-50,-100); 172 185 173 186
Note: See TracChangeset
for help on using the changeset viewer.