Added debug variable

This commit is contained in:
Ziver Koc 2007-04-18 09:04:08 +00:00
parent 0bfc621ade
commit 6873572994
3 changed files with 29 additions and 6 deletions

View file

@ -52,7 +52,7 @@ public class InGameMouseInput extends MouseInput{
@Override
public void mouseDown(int event,int x, int y) {
System.out.println("DOWN("+event+"): "+x+"-"+y);
Vector2i pos = map.getPosByPixel(
Vector2i pos = Map.getPosByPixel(
LWJGLGameWindow.getCamera().getLocation().getX()+x,
LWJGLGameWindow.getCamera().getLocation().getY()+y);
//selecting unit.