MAK RTIspy API Documentation for HLA Evolved
List of all members | Static Public Attributes
ui.MakShooterUIConstants Class Reference

The Class MakShooterUIConstants. More...

+ Collaboration diagram for ui.MakShooterUIConstants:

Static Public Attributes

static final int BoardShipMultiplier = 2
 The Constant BoardShipMultiplier.
static final int DEFAULT_BOARD_HEIGHT = 250 * BoardShipMultiplier
 The Constant DEFAULT_BOARD_HEIGHT.
static final int DEFAULT_BOARD_WIDTH = 250 * BoardShipMultiplier
 The Constant DEFAULT_BOARD_WIDTH.
static final int DEFAULT_BOARD_Y = 184
 The Constant DEFAULT_BOARD_Y.
static final int DEFAULT_BOARD_X = 312
 The Constant DEFAULT_BOARD_X.
static final int DEFAULT_SHIP_SIZE = 6 * BoardShipMultiplier
 The Constant DEFAULT_SHIP_SIZE.
static final int DEFAULT_SHIP_LEFT_X = DEFAULT_SHIP_SIZE
 The Constant DEFAULT_SHIP_LEFT_X.
static final int DEFAULT_SHIP_RIGHT_X_KLUDGE = 8 * BoardShipMultiplier
 The Constant DEFAULT_SHIP_RIGHT_X_KLUDGE.
static final int DEFAULT_SHIP_RIGHT_X
 The Constant DEFAULT_SHIP_RIGHT_X.
static final int DEFAULT_SHIP_Y = 100 * BoardShipMultiplier
 The Constant DEFAULT_SHIP_Y.
static final int DEFAULT_SHIP_Y_SHIFT = 5 * BoardShipMultiplier
 The Constant DEFAULT_SHIP_Y_SHIFT.
static final int DEFAULT_SHOT_X_SHIFT = 3 * BoardShipMultiplier
 The Constant DEFAULT_SHOT_X_SHIFT.
static final int DEFAULT_SHOT_WIDTH = 2 * BoardShipMultiplier
 The Constant DEFAULT_SHOT_WIDTH.
static final int DEFAULT_SHOT_HEIGHT = 2 * BoardShipMultiplier
 The Constant DEFAULT_SHOT_HEIGHT.
static final String MAK_SHOOTER_TITLE = "MAK Shooter"
 This constant is the title for the Swing Shell for the game MakShooter.

Detailed Description

The Class MakShooterUIConstants.

Member Data Documentation

final int ui.MakShooterUIConstants.BoardShipMultiplier = 2
static

The Constant BoardShipMultiplier.

final int ui.MakShooterUIConstants.DEFAULT_BOARD_HEIGHT = 250 * BoardShipMultiplier
static
final int ui.MakShooterUIConstants.DEFAULT_BOARD_WIDTH = 250 * BoardShipMultiplier
static

The Constant DEFAULT_BOARD_WIDTH.

Referenced by controllers.ShotManager.checkIfShotExitsBoard(), and ui.Board.initialize().

final int ui.MakShooterUIConstants.DEFAULT_BOARD_X = 312
static

The Constant DEFAULT_BOARD_X.

Referenced by ui.Board.initialize().

final int ui.MakShooterUIConstants.DEFAULT_BOARD_Y = 184
static

The Constant DEFAULT_BOARD_Y.

Referenced by ui.Board.initialize().

final int ui.MakShooterUIConstants.DEFAULT_SHIP_LEFT_X = DEFAULT_SHIP_SIZE
static
final int ui.MakShooterUIConstants.DEFAULT_SHIP_RIGHT_X
static
final int ui.MakShooterUIConstants.DEFAULT_SHIP_RIGHT_X_KLUDGE = 8 * BoardShipMultiplier
static

The Constant DEFAULT_SHIP_RIGHT_X_KLUDGE.

final int ui.MakShooterUIConstants.DEFAULT_SHIP_SIZE = 6 * BoardShipMultiplier
static
final int ui.MakShooterUIConstants.DEFAULT_SHIP_Y = 100 * BoardShipMultiplier
static

The Constant DEFAULT_SHIP_Y.

Referenced by ui.TestMain.main(), federate.RTI1516e.Test.main(), and ui.RTIActionHelper.startNewGame().

final int ui.MakShooterUIConstants.DEFAULT_SHIP_Y_SHIFT = 5 * BoardShipMultiplier
static

The Constant DEFAULT_SHIP_Y_SHIFT.

Referenced by controllers.KeyboardShipController.run().

final int ui.MakShooterUIConstants.DEFAULT_SHOT_HEIGHT = 2 * BoardShipMultiplier
static

The Constant DEFAULT_SHOT_HEIGHT.

Referenced by ui.draw.SquareShot.draw(), and ui.draw.SquareShot.getShape().

final int ui.MakShooterUIConstants.DEFAULT_SHOT_WIDTH = 2 * BoardShipMultiplier
static

The Constant DEFAULT_SHOT_WIDTH.

Referenced by ui.draw.SquareShot.draw(), and ui.draw.SquareShot.getShape().

final int ui.MakShooterUIConstants.DEFAULT_SHOT_X_SHIFT = 3 * BoardShipMultiplier
static

The Constant DEFAULT_SHOT_X_SHIFT.

Referenced by controllers.ShotManager.incrementShot().

final String ui.MakShooterUIConstants.MAK_SHOOTER_TITLE = "MAK Shooter"
static

This constant is the title for the Swing Shell for the game MakShooter.

Referenced by ui.Board.initialize(), and ui.Board.modifyTitle().


The documentation for this class was generated from the following file:

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)