Fixed mouse coordinates
This commit is contained in:
parent
71011aa33a
commit
e19132c65f
2 changed files with 11 additions and 5 deletions
|
|
@ -72,6 +72,13 @@ public class Map {
|
|||
if(map[x][y] != null){
|
||||
return true;
|
||||
}
|
||||
for(int i=0; i<width ;i++){
|
||||
for(int j=0; j<hight ;j++){
|
||||
if(map[i][j] != null){
|
||||
System.out.println("LOL: "+i+" "+j);
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue