![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Static Public Member Functions | |
| static void | startNewGame (final IMakShooterRTI myRti, final String federationName, final String federateName, URL fddFullPathURL, final boolean observer, final Board board, final Color color) throws Exception |
| static URL | findLocalFedFile (String fed) throws MalformedURLException |
| static void | stopGame (IMakShooterRTI myRti, Board board) throws Exception |
Static Private Member Functions | |
| static void | stopKeyboardThread (Board board) |
| static void | stopShotIncrementingThread (Board board) |
| static void | stopRtiObjectLisener (Board board) |
| static void | resetBoard (Board board) |
| static void | resetShotManager () |
| static URL ui.RTIActionHelper.findLocalFedFile | ( | String | fed | ) | throws MalformedURLException [inline, static] |
Referenced by ui.Board.performStartupStuff().
| static void ui.RTIActionHelper.resetBoard | ( | Board | board | ) | [inline, static, private] |
References ui.Board.reInitializeGame().
Referenced by ui.RTIActionHelper.stopGame().
| static void ui.RTIActionHelper.resetShotManager | ( | ) | [inline, static, private] |
References controllers.ShotManager.getInstance(), and controllers.ShotManager.reinitialize().
Referenced by ui.RTIActionHelper.stopGame().
| static void ui.RTIActionHelper.startNewGame | ( | final IMakShooterRTI | myRti, |
| final String | federationName, | ||
| final String | federateName, | ||
| URL | fddFullPathURL, | ||
| final boolean | observer, | ||
| final Board | board, | ||
| final Color | color | ||
| ) | throws Exception [inline, static] |
References ui.MakShooterUIConstants.DEFAULT_SHIP_LEFT_X, ui.MakShooterUIConstants.DEFAULT_SHIP_RIGHT_X, ui.MakShooterUIConstants.DEFAULT_SHIP_Y, federationName(), common.Ship.getAlignment(), controllers.ShotManager.getInstance(), common.E_PlayerIdentity.getValue(), common.E_Alignment.LEFT, common.E_PlayerIdentity.OBSERVER, common.E_Alignment.RIGHT, common.Ship.setColor(), controllers.ShotManager.setMyRti(), common.Drawable.setName(), controllers.ShotIncrementingThread.setOnlyPaint(), controllers.ShotManager.setupShotPoolForFederation(), common.Drawable.setVisible(), and controllers.KeyboardShipController.start().
Referenced by ui.Board.performStartupStuff().
| static void ui.RTIActionHelper.stopGame | ( | IMakShooterRTI | myRti, |
| Board | board | ||
| ) | throws Exception [inline, static] |
References ui.RTIActionHelper.resetBoard(), ui.RTIActionHelper.resetShotManager(), ui.RTIActionHelper.stopKeyboardThread(), ui.RTIActionHelper.stopRtiObjectLisener(), and ui.RTIActionHelper.stopShotIncrementingThread().
Referenced by ui.Board.abandonGame(), ui.Board.dispose(), and ui.Board.performShutdownStuff().
| static void ui.RTIActionHelper.stopKeyboardThread | ( | Board | board | ) | [inline, static, private] |
References ui.Board.getControllerThread(), and controllers.IShipController.setFinished().
Referenced by ui.RTIActionHelper.stopGame().
| static void ui.RTIActionHelper.stopRtiObjectLisener | ( | Board | board | ) | [inline, static, private] |
Referenced by ui.RTIActionHelper.stopGame().
| static void ui.RTIActionHelper.stopShotIncrementingThread | ( | Board | board | ) | [inline, static, private] |
References ui.Board.getShotIncrementingThread(), and controllers.ShotIncrementingThread.setFinished().
Referenced by ui.RTIActionHelper.stopGame().