| GameOverEvent.java |
1 import java.awt.*;
2 import java.awt.event.*;
3 import java.applet.*;
4 import java.awt.geom.*;
5 import java.util.*;
6
7 /**
8 * Simple event to let Game know there was a loss.
9 *
10 * @see Game
11 * @see Battle
12 * @version 1.23
13 * @author Matt, Sam
14 */
15 public class GameOverEvent extends AWTEvent
16 {
17 /**
18 * The UID
19 */
20 public static final int GAME_OVER = RESERVED_ID_MAX + 11; // Make sure no conflicts with normal AWT components
21
22 /**
23 * Simple Constructor
24 *
25 * @param source the Battle
26 * @param id the ID
27 * @see Battle
28 */
29 GameOverEvent(Battle source, int id)
30 {
31 super( source, id );
32 }
33 }