Fixed nullpointexeption

This commit is contained in:
Yorick
2015-03-11 20:40:10 +00:00
parent 034e052bfa
commit 72383c9ccc
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ public class Panel extends JPanel {
float cameraScale = 1;
Point2D lastClickPosition;
Point lastMousePosition;
Point2D lastClickPosition = new Point(0,0);
Point lastMousePosition = new Point(0,0);
Panel()
{