import java.applet.*; import java.awt.*; ///////////////////////////////////////////////////////////////// public class TricytremeManager { private Tricytreme tr[]; // array of tricytremes boolean playSound = false; // initially no sound AudioClip expsound; // sound clip of explosion static int width, height; // applet dimensions private int startNumOfMinerals = 0; // Number of TR's that appears at the // start of the game. private int numOfMinerals = 0; // Number of TR's on the screen. // constructor public TricytremeManager(int numOfMinerals,int width,int height, Image trImages[], Image explodeImages[], Applet applet, AudioClip exp) { this.width = width; this.height = height; tr = new Tricytreme[numOfMinerals]; for (int i=0; i