blob: 9f4d3fbc99dbda2df1c13370466c228407672a6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package tesseract.generators;
import javax.swing.JMenu;
import tesseract.World;
/**
* A generator menu.
*
* @author jesse
*/
public class GeneratorsMenu extends JMenu {
/**
* Serial UID.
*/
private static final long serialVersionUID = 8994598391451363374L;
/**
* Constructor.
*/
public GeneratorsMenu(final World theWorld) {
super("Generators");
// Build the menu of generators.
add(new SphereField(theWorld));
add(new ParticleField(theWorld));
add(new BoxField(theWorld));
add(new ICOField(theWorld));
}
}
|