From: Toby D. <tj...@sf...> - 2005-04-27 06:24:10
|
Alex, I don't know if the mouse code in TheMatrix has been kept up ... It might do nothing! The simplest thing is to ignore it or delete it for now. By the way, can you post some sample code using TheMatrixOrigin for some basic task so that others can see how it is meant to be used. Toby ---Alex's message copied from csjava developers forum New concerns as my afternoon without World of Warcraft continues: Since all the mouse functions are done using internal coordinates in the parent class, I opted to convert them to "fake" coordinates for now. However there is something that confuses me: Currently in mouseClicked, there is a line: <b> _currentPoint = null;</b> But this is really weird to me, since _currentPoint is only declared in TheMatrix, and it's only actually used in mouseClicked and mouseDragged. However, in mouseClicked I don't think it does anything with _currentPoint but sets it to null at the end. What exactly is this supposed to be doing? |