kaas
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user