|
@@ -182,9 +182,12 @@ public class Terrain extends JPanel {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
|
+ * Add facilities on initializing
|
|
|
|
|
+ */
|
|
|
private void initEntities(){
|
|
private void initEntities(){
|
|
|
- this.entities.add(new Stage(300, 10, 0.5, 10));
|
|
|
|
|
- this.entities.add(new Stage(400, 40, 2, 10));
|
|
|
|
|
|
|
+ //this.entities.add(new Stage(300, 10, 0.5, 10));
|
|
|
|
|
+ //this.entities.add(new Stage(400, 40, 2, 10));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -198,7 +201,7 @@ public class Terrain extends JPanel {
|
|
|
g2.fill3DRect(0, 0, 200, 50, true);
|
|
g2.fill3DRect(0, 0, 200, 50, true);
|
|
|
g2.setColor(Color.WHITE);
|
|
g2.setColor(Color.WHITE);
|
|
|
g2.setFont(new Font("Serif", Font.BOLD, 20));
|
|
g2.setFont(new Font("Serif", Font.BOLD, 20));
|
|
|
- g2.drawString("Drag and place", 30, 25);
|
|
|
|
|
|
|
+ g2.drawString("Drag and drop", 30, 25);
|
|
|
g2.setColor(Color.BLACK);
|
|
g2.setColor(Color.BLACK);
|
|
|
g2.setStroke(new BasicStroke(5));
|
|
g2.setStroke(new BasicStroke(5));
|
|
|
g2.drawLine(199, 0, 199, getHeight());
|
|
g2.drawLine(199, 0, 199, getHeight());
|