Added debug variable
This commit is contained in:
parent
0bfc621ade
commit
6873572994
3 changed files with 29 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue