|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
megamek.common.event.GameEvent
megamek.common.event.GamePhaseChangeEvent
public class GamePhaseChangeEvent
Instances of this class are sent when Game phase changes
| Field Summary |
|---|
| Fields inherited from class megamek.common.event.GameEvent |
|---|
GAME_BOARD_CHANGE, GAME_BOARD_NEW, GAME_END, GAME_ENTITY_CHANGE, GAME_ENTITY_NEW, GAME_ENTITY_NEW_OFFBOARD, GAME_ENTITY_REMOVE, GAME_MAP_QUERY, GAME_NEW_ACTION, GAME_PHASE_CHANGE, GAME_PLAYER_CHANGE, GAME_PLAYER_CHAT, GAME_PLAYER_CONNECTED, GAME_PLAYER_DISCONNECTED, GAME_REPORT, GAME_SETTINGS_CHANGE, GAME_TURN_CHANGE, type |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
GamePhaseChangeEvent(java.lang.Object source,
IGame.Phase oldPhase,
IGame.Phase newPhase)
Constructs new GamePhaseChangeEvent |
|
| Method Summary | |
|---|---|
IGame.Phase |
getNewPhase()
Returns the newPhase. |
IGame.Phase |
getOldPhase()
Returns the oldPhase. |
| Methods inherited from class megamek.common.event.GameEvent |
|---|
getType, toString |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GamePhaseChangeEvent(java.lang.Object source,
IGame.Phase oldPhase,
IGame.Phase newPhase)
GamePhaseChangeEvent
source - Event sourceoldPhase - newPhase - | Method Detail |
|---|
public IGame.Phase getNewPhase()
public IGame.Phase getOldPhase()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||