This commit is contained in:
Ziver Koc 2007-04-04 16:00:09 +00:00
parent e9db4c48e3
commit 257d7e9db5
4 changed files with 28 additions and 5 deletions

View file

@ -45,7 +45,10 @@ public class InGameMouseInput extends MouseInput{
@Override
public void mouseDown(int event,int x, int y) {
System.out.println("DOWN("+event+"): "+x+"-"+y);
System.out.println("DOWN("+event+"): "+x+"-"+y+map);
System.out.println(map.getPosByPixel(
LWJGLGameWindow.getCamera().getLocation().getX()+x,
LWJGLGameWindow.getCamera().getLocation().getY()+y));
}