Browse Source

Print specific information on the object clicked for debugging reasons

hutattedonmyarm 12 years ago
parent
commit
4793c1f290
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      CubeControl/Led3D.java

+ 4
- 0
CubeControl/Led3D.java View File

195
 							}
195
 							}
196
 						}
196
 						}
197
 					}
197
 					}
198
+				} else {
199
+					System.out.println("Clicked, but not a sphere. Clicked object: " + p.getClass().getName());
198
 				}
200
 				}
199
 			}
201
 			}
202
+		} else {
203
+			System.out.println("Clicked, but hit nothing");
200
 		}
204
 		}
201
 	}
205
 	}
202
 
206
 

Loading…
Cancel
Save