This commit is contained in:
Yorick
2015-04-07 15:06:20 +02:00
parent 284823c28b
commit ad4eacc20c
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ public class ControlPanel extends JPanel
peopleButton.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e)
{
p.addVisitors(300);
p.addVisitors(1);
}
});
peoplePanel.add(peopleButton);
-1
View File
@@ -104,7 +104,6 @@ public abstract class DrawObject implements Serializable
AffineTransform tx = new AffineTransform();
tx.scale(scale, scale);
tx.translate(position.getX(), position.getY());
System.out.println(position.getX());
tx.rotate(Math.toRadians(rotation), (width + areaLeft + areaRight) / 2, (height + areaTop + areaBottom) / 2);
return tx;
}