added key events,

moved create thread in window constructor,
added point2 hashcode
added gridpanel without merge
This commit is contained in:
Macocian Adrian Radu
2020-04-10 17:13:19 +03:00
parent eb4ce47a5c
commit 2e4d83085a
11 changed files with 234 additions and 33 deletions

View File

@@ -2,7 +2,7 @@ package guiTree.Helper;
public class Debugger {
public enum Tag {
LISTENER(false),
LISTENER(true),
PAINTING(false),
FPS(true),
ANIMATIONS(false),

View File

@@ -17,4 +17,9 @@ public class Point2<T> {
public String toString() {
return "Point2 x:" + x + " y: " + y;
}
@Override
public int hashCode() {
return (x.toString() + ", " + y.toString()).hashCode();
}
}