A B C D E F G H I J K L M N O P Q R S T U V W _

A

ACE - Static variable in class mhframework.media.MHPlayingCard
 
actionListener - Variable in class mhframework.gui.MHGUIButton
ActionEvent listener
actionPerformed(ActionEvent) - Method in class mhframework.gui.MHGUIButton
 
actionPerformed(ActionEvent) - Method in class mhframework.gui.MHGUIComponent
 
actionPerformed(ActionEvent) - Method in class mhframework.gui.MHGUICycleControl
 
actionPerformed(ActionEvent) - Method in class mhframework.gui.MHGUIDialogScreen
 
actionPerformed(ActionEvent) - Method in class mhframework.gui.MHGUIFileDialogScreen
 
actionPerformed(ActionEvent) - Method in class mhframework.gui.MHGUILabel
 
actionPerformed(ActionEvent) - Method in class mhframework.gui.MHGUIStatusIndicator
 
activate(MHActor) - Method in interface mhframework.MHInteractive
To be called when an "activate" command is issued to an object.
add(MHGUIComponent) - Method in class mhframework.gui.MHGUIButtonMenu
Adds a button or other component to the menu.
add(int, MHGUIComponent) - Method in class mhframework.gui.MHGUIButtonMenu
Adds a button or other component to the menu.
add(MHGUIComponent) - Method in class mhframework.gui.MHGUIComponentList
 
add(int, MHGUIComponent) - Method in class mhframework.gui.MHGUIComponentList
Method add.
add(MHGUIComponent) - Method in class mhframework.gui.MHGUIListBox
Adds a button or other component to the menu.
add(String, Object) - Method in class mhframework.gui.MHGUIListBox
 
add(MHActor) - Method in class mhframework.MHActorList
Adds a new actor to the list.
add(MHGUIComponent) - Method in class mhframework.MHScreen
Adds an MHGUIComponent object to the screen.
add(MHSerializableClientInfo) - Method in class mhframework.net.MHSerializableClientList
Add a client information record to this collection.
add(MHClientInfo) - Method in class mhframework.net.server.MHClientList
 
addActionListener(ActionListener) - Method in class mhframework.gui.MHGUIButton
 
addCard(MHPlayingCard) - Method in class mhframework.media.MHPlayingCardDeck
 
addFrame(int, String, int) - Method in class mhframework.media.MHImageGroup
Adds an animation frame to an existing frame sequence.
addFrame(int, Image, int) - Method in class mhframework.media.MHImageGroup
Adds an animation frame to an existing frame sequence
addImage(Image, int, int, int) - Method in class mhframework.media.MHMediaTracker
 
addImage(Image, int) - Method in class mhframework.media.MHMediaTracker
 
addKeyListener(KeyListener) - Method in class mhframework.gui.MHGUIButton
 
addMouseListener(MouseListener) - Method in class mhframework.gui.MHGUIButton
 
addMouseMotionListener(MouseMotionListener) - Method in class mhframework.gui.MHGUIButton
 
addScreen(MHScreen) - Method in class mhframework.MHScreenManager
Adds a new screen to the screen stack.
addSequence(int) - Method in class mhframework.media.MHImageGroup
Adds a new animation sequence to an image group.
addSound(String) - Method in class mhframework.media.MHSoundManager
Adds a sound file to the sound manager.
advance() - Method in class mhframework.gui.MHGUIButton
 
advance() - Method in class mhframework.gui.MHGUIButtonMenu
 
advance() - Method in class mhframework.gui.MHGUIChatClient
 
advance() - Method in class mhframework.gui.MHGUIClientListDisplay
 
advance() - Method in class mhframework.gui.MHGUIComponentList
 
advance() - Method in class mhframework.gui.MHGUICycleControl
 
advance() - Method in class mhframework.gui.MHGUIDialogScreen
 
advance() - Method in class mhframework.gui.MHGUILabel
 
advance() - Method in class mhframework.gui.MHGUIListBox
 
advance() - Method in class mhframework.gui.MHGUINumericCycleControl
 
advance() - Method in class mhframework.gui.MHGUIStatusIndicator
Not currently used.
advance() - Method in class mhframework.gui.MHGUITextDisplayArea
 
advance() - Method in class mhframework.MHActor
Updates the actor's animation frame number, location, and rotation.
advance(int) - Method in class mhframework.MHActorList
Advances the actor at the given index.
advance() - Method in class mhframework.MHActorList
Advances all actors in the list.
advance() - Method in interface mhframework.MHRenderable
Tells an object to update its data.
advance() - Method in class mhframework.MHScreen
 
advance() - Method in class mhframework.MHScreenManager
Tells the current screen to update its data.
advance() - Method in class mhframework.tilemap.MHIsometricMap
 
advance() - Method in class mhframework.tilemap.MHMapCell
 
advance() - Method in class mhframework.tilemap.MHTileMap
 
anchorSpace - Variable in class mhframework.tilemap.MHTileMap
A rectangle defining the difference between the screen space and the world space which is used for clipping and stuff.
ANIMATION_DELAY - Static variable in class mhframework.MHFrameworkConstants
 
ASSIGN_CLIENT_ID - Static variable in class mhframework.net.MHMessageType
 
AUTO_ASSIGN_CHANNEL - Static variable in class mhframework.media.MHSoundManager
Constant for telling the MHSoundManager object to automatically assign an available channel number for playing a sound.

B

bitDepth - Variable in class mhframework.MHVideoSettings
 
BOTTOM - Static variable in class mhframework.media.MHImageFont
 
BROADCAST_CLIENT_LIST - Static variable in class mhframework.net.MHMessageType
 
broadcastClientList() - Method in class mhframework.net.server.MHServerModule
 
btnNext - Variable in class mhframework.gui.MHGUICycleControl
 
btnPrevious - Variable in class mhframework.gui.MHGUICycleControl
 
BUTTON_DOWN - Static variable in class mhframework.gui.MHGUIButton
Indicates button is pressed down
BUTTON_NORMAL - Static variable in class mhframework.gui.MHGUIButton
Indicates button is in normal state
BUTTON_OVER - Static variable in class mhframework.gui.MHGUIButton
Indicates that mouse is over the button

C

calculateAnchorSpace() - Method in class mhframework.tilemap.MHStaggeredMap
 
calculateAnchorSpace() - Method in class mhframework.tilemap.MHTileMap
Calculate the anchor space for this tile map.
calculateWorldSpace() - Method in class mhframework.tilemap.MHDiamondMap
Calculate the world space for this tile map.
calculateWorldSpace() - Method in class mhframework.tilemap.MHTileMap
Calculate the world space for this tile map.
CANCEL_OPTION - Static variable in class mhframework.gui.MHGUIDialogScreen
 
caption - Variable in class mhframework.gui.MHGUIButton
The text caption on the button
CARD_BACK - Static variable in class mhframework.media.MHPlayingCard
 
CEILING_LAYER - Static variable in class mhframework.tilemap.MHMapCell
 
ceilingFile - Variable in class mhframework.tilemap.MHMapFileInfo
 
CENTER - Static variable in class mhframework.tilemap.MHIsoMouseMap
Constant indicating center of mouse map.
centerOn(Rectangle2D, Graphics2D) - Method in class mhframework.gui.MHGUILabel
 
centerText(Graphics, String, int, Color, boolean, int) - Method in class mhframework.MHScreen
 
changeScreen(boolean) - Static method in class mhframework.MHDisplayModeChooser
TODO: Figure out if this method can be fixed.
charHeight(char) - Method in class mhframework.media.MHImageFont
Gets the char height, in pixels, for the specified char.
charWidth(char) - Method in class mhframework.media.MHImageFont
Gets the char width, in pixels, for the specified char.
CHAT - Static variable in class mhframework.net.MHMessageType
 
clear() - Method in class mhframework.MHActorList
Clears the list of actor references.
clipCursorAddress() - Method in class mhframework.tilemap.MHTileMap
Performs validation on the cursor's map cell address to ensure that it is within the bounds of the map.
clipScreenAnchor() - Method in class mhframework.tilemap.MHTileMap
 
clone() - Method in class mhframework.MHPoint
Creates an exact copy of this point.
close() - Method in class mhframework.media.MHMidiPlayer
Closes the sequencer.
color - Variable in class mhframework.net.MHSerializableClientInfo
 
color - Variable in class mhframework.net.server.MHClientInfo
 
column - Variable in class mhframework.tilemap.MHMapCellAddress
The column of the map indicated by this address.
configureGameWindow(JFrame, MHVideoSettings) - Static method in class mhframework.MHDisplayModeChooser
Configures a JFrame object for full-screen or windowed rendering as specified in the MHVideoSettings parameter.
COSINE - Static variable in class mhframework.MHRotationLookup
 
cosine(double) - Static method in class mhframework.MHRotationLookup
 
countLoadedImages() - Method in class mhframework.media.MHMediaTracker
This method counts the number of images that have finished loading.
cursorAddress - Variable in class mhframework.tilemap.MHTileMap
 
cursorAnchor - Variable in class mhframework.tilemap.MHTileMap
 
cursorFlasher - Variable in class mhframework.tilemap.MHIsometricMap
 
cursorOn - Variable in class mhframework.tilemap.MHIsometricMap
 
cursorPoint - Variable in class mhframework.tilemap.MHTileMap
 

D

dealCard() - Method in class mhframework.media.MHPlayingCardDeck
 
decrement() - Method in class mhframework.gui.MHGUICycleControl
 
decrement() - Method in class mhframework.gui.MHGUINumericCycleControl
 
DEFAULT_PAINT - Variable in class mhframework.gui.MHGUILabel
Default color if no other color is specified.
DEFAULT_PORT - Static variable in class mhframework.net.server.MHServerModule
 
defaultColors - Variable in class mhframework.net.server.MHServerModule
 
DETAIL_LAYER - Static variable in class mhframework.tilemap.MHMapCell
 
detailFile - Variable in class mhframework.tilemap.MHMapFileInfo
 
DEUCE - Static variable in class mhframework.media.MHPlayingCard
 
DIR_EAST - Static variable in class mhframework.tilemap.MHTileMap
East direction.
DIR_EAST - Static variable in interface mhframework.tilemap.MHTileMapDirections
East direction.
DIR_NORTH - Static variable in class mhframework.tilemap.MHTileMap
North direction.
DIR_NORTH - Static variable in interface mhframework.tilemap.MHTileMapDirections
North direction.
DIR_NORTHEAST - Static variable in class mhframework.tilemap.MHTileMap
Northeast direction.
DIR_NORTHEAST - Static variable in interface mhframework.tilemap.MHTileMapDirections
Northeast direction.
DIR_NORTHWEST - Static variable in class mhframework.tilemap.MHTileMap
Northwest direction.
DIR_NORTHWEST - Static variable in interface mhframework.tilemap.MHTileMapDirections
Northwest direction.
DIR_SOUTH - Static variable in class mhframework.tilemap.MHTileMap
South direction.
DIR_SOUTH - Static variable in interface mhframework.tilemap.MHTileMapDirections
South direction.
DIR_SOUTHEAST - Static variable in class mhframework.tilemap.MHTileMap
Southeast direction.
DIR_SOUTHEAST - Static variable in interface mhframework.tilemap.MHTileMapDirections
Southeast direction.
DIR_SOUTHWEST - Static variable in class mhframework.tilemap.MHTileMap
Southwest direction.
DIR_SOUTHWEST - Static variable in interface mhframework.tilemap.MHTileMapDirections
Southwest direction.
DIR_WEST - Static variable in class mhframework.tilemap.MHTileMap
West direction.
DIR_WEST - Static variable in interface mhframework.tilemap.MHTileMapDirections
West direction.
disabledPaint - Variable in class mhframework.gui.MHGUILabel
The paint used to color the label when it's disabled.
disconnect() - Method in class mhframework.net.client.MHClientModule
 
DISCONNECT - Static variable in class mhframework.net.MHMessageType
 
DISPLAY_X - Static variable in class mhframework.MHDisplayModeChooser
Top-left corner of screen display, to account for insets in windowed mode.
DISPLAY_Y - Static variable in class mhframework.MHDisplayModeChooser
Top-left corner of screen display, to account for insets in windowed mode.
displayHeight - Variable in class mhframework.MHVideoSettings
 
displayWidth - Variable in class mhframework.MHVideoSettings
 
doneLoading() - Method in class mhframework.media.MHMediaTracker
Returns true when all requested images have finished loading.
DOWN_COLOR - Static variable in class mhframework.gui.MHGUIButton
 
downColor - Variable in class mhframework.gui.MHGUIButton
Color of down state
drawBackground(Graphics2D) - Method in class mhframework.gui.MHGUIDialogScreen
 
drawChar(Graphics, char, int, int) - Method in class mhframework.media.MHImageFont
Draws the specified character at the (x, y) location.
drawChar(Graphics, char, int, int, int) - Method in class mhframework.media.MHImageFont
Draws the specified character at the (x, y) location.
drawCursor(Graphics) - Method in class mhframework.tilemap.MHIsometricMap
 
drawMessage(Graphics2D, int, int) - Method in class mhframework.gui.MHGUIDialogScreen
 
drawString(Graphics, String, int, int) - Method in class mhframework.media.MHImageFont
Draws the specified string at the (x, y) location.
drawString(Graphics, String, int, int, int) - Method in class mhframework.media.MHImageFont
Draws the specified string at the (x, y) location.
drawTitle(Graphics2D, int, int) - Method in class mhframework.gui.MHGUIDialogScreen
 

E

EIGHT - Static variable in class mhframework.media.MHPlayingCard
 
END_OF_TRACK_MESSAGE - Static variable in class mhframework.media.MHMidiPlayer
 
equals(MHPlayingCard) - Method in class mhframework.media.MHPlayingCard
 
equals(int) - Method in class mhframework.media.MHPlayingCard
 
equals(int, int) - Method in class mhframework.media.MHPlayingCard
 
examine() - Method in interface mhframework.MHInteractive
Returns a description of a game object.

F

fileName - Variable in class mhframework.tilemap.MHMapFileInfo
 
FIVE - Static variable in class mhframework.media.MHPlayingCard
 
FLOOR_LAYER - Static variable in class mhframework.tilemap.MHMapCell
 
floorFile - Variable in class mhframework.tilemap.MHMapFileInfo
 
focusable - Variable in class mhframework.gui.MHGUIComponent
Flag indicating whether component can get focus.
font - Variable in class mhframework.gui.MHGUILabel
The font of the text displayed on the label.
forwardMessage(MHClientInfo, MHNetworkMessage) - Method in class mhframework.net.server.MHServerModule
 
FOUR - Static variable in class mhframework.media.MHPlayingCard
 
framesPerSecond - Static variable in class mhframework.MHGame
 
FULL_SCREEN - Static variable in class mhframework.MHAppLauncher
Constant indicating that full screen mode was chosen.
fullScreen - Variable in class mhframework.MHVideoSettings
 

G

gc() - Method in class mhframework.MHScreenManager
Runs the screen manager's garbage collector to deallocate screens that are no longer needed (i.e.
get(int) - Method in class mhframework.gui.MHGUIComponentList
 
get(int) - Method in class mhframework.MHActorList
Returns the actor at the given index.
get(int) - Method in class mhframework.net.MHSerializableClientList
Retrieve client information by ID number lookup.
get(String) - Method in class mhframework.net.MHSerializableClientList
Retrieve client information by name lookup.
get(int) - Method in class mhframework.net.server.MHClientList
 
get(Socket) - Method in class mhframework.net.server.MHClientList
 
get(String) - Method in class mhframework.net.server.MHClientList
 
getAnimationSequenceNumber() - Method in class mhframework.MHActor
Returns the actor's current action, which is also the number of the actor's current animation sequence.
getBackgroundColor() - Method in class mhframework.gui.MHGUIDialogScreen
 
getBackgroundImage() - Method in class mhframework.gui.MHGUIDialogScreen
 
getBaseHeight() - Method in class mhframework.tilemap.MHMapCell
 
getBaseWidth() - Method in class mhframework.tilemap.MHMapCell
 
getBlurValues() - Method in class mhframework.MHBlurFilter
Returns the array of values currently being used to blur the image.
getBorderWidth() - Method in class mhframework.gui.MHGUITextDisplayArea
 
getBounds() - Method in class mhframework.gui.MHGUIComponent
 
getBounds() - Method in class mhframework.MHActor
Calculates and returns the bounding rectangle for this actor's current sprite image without regard to scaling.
getBounds() - Static method in class mhframework.MHDisplayModeChooser
 
getBufferStrategy() - Static method in class mhframework.MHDisplayModeChooser
Returns the active BufferStrategy object being used with the current display mode.
getButtons() - Method in class mhframework.gui.MHGUIButtonMenu
Returns the buttons.
getCanvas() - Static method in class mhframework.MHDisplayModeChooser
Returns a reference to the Canvas object which represents the graphics screen.
getCaptionText() - Method in class mhframework.gui.MHGUIButton
 
getCardNumber() - Method in class mhframework.media.MHPlayingCard
Return the unique identifier for this card.
getCeilingFile() - Method in class mhframework.tilemap.MHMap
Returns the ceilingFile.
getCenterX() - Method in class mhframework.MHActor
 
getCenterY() - Method in class mhframework.MHActor
 
getClientID() - Method in class mhframework.net.client.MHClientModule
 
getClientList() - Method in class mhframework.net.client.MHClientModule
Returns a list of clients who are connected to the same server as this client module.
getClientList() - Method in class mhframework.net.server.MHServerModule
 
getComponentList() - Method in class mhframework.MHScreen
 
getCurrentTileSetID() - Method in class mhframework.tilemap.MHTileSetManager
Returns the identifier of this tileset.
getCursorAddress() - Method in class mhframework.tilemap.MHTileMap
 
getCursorPoint() - Method in class mhframework.tilemap.MHTileMap
Returns the cursorPoint.
getDetailFile() - Method in class mhframework.tilemap.MHMap
Returns the detailFile.
getDirection(int, int) - Method in class mhframework.tilemap.MHIsoMouseMap
Returns the direction to be "walked" in order for the mouse point to be accurately interpreted as a map position.
getDirectionAngle() - Method in class mhframework.MHVector
 
getDownColor() - Method in class mhframework.gui.MHGUIButton
Returns the downColor.
getDuration(int, int) - Method in class mhframework.media.MHImageGroup
Returns the duration of the specified frame.
getEndPoint() - Method in class mhframework.MHVector
 
getFace() - Method in class mhframework.media.MHPlayingCard
Return an integer indicating the face of this card.
getFloorFile() - Method in class mhframework.tilemap.MHMap
Returns the floorFile.
getFocusedComponent() - Method in class mhframework.gui.MHGUIComponentList
 
getFocusedComponent() - Method in class mhframework.MHScreen
Return a reference to the GUI component that currently has the focus.
getFont() - Method in class mhframework.gui.MHGUIButton
 
getFont() - Method in class mhframework.gui.MHGUILabel
 
getFrame() - Static method in class mhframework.MHDisplayModeChooser
 
getFrameCount(int) - Method in class mhframework.media.MHImageGroup
Returns the number of frames in the specified sequence.
getFrameCount() - Method in class mhframework.MHActor
 
getFrameNumber() - Method in class mhframework.MHActor
 
getFrameTimer() - Method in class mhframework.MHActor
Returns the frameTimer.
getGameObject() - Method in class mhframework.MHGameApplication
 
getGraphics2D() - Static method in class mhframework.MHDisplayModeChooser
 
getHealth() - Method in class mhframework.MHActor
Returns this actor's current health value
getHeight() - Method in class mhframework.gui.MHGUIComponent
 
getHeight() - Method in class mhframework.MHActor
 
getHeight() - Method in class mhframework.tilemap.MHMap
Returns the number of rows in the map.
getHorizontalSpeed() - Method in class mhframework.MHActor
Returns the horizontal speed value for this actor.
getIcon() - Method in class mhframework.gui.MHGUIButton
Returns the icon.
getImage(char) - Method in class mhframework.media.MHImageFont
Gets the image for a specific character.
getImage(int, int) - Method in class mhframework.media.MHImageGroup
Returns the requested image from the image group.
getImage() - Method in class mhframework.media.MHPlayingCard
 
getImage() - Method in class mhframework.MHActor
Returns current animation frame.
getImageCount() - Method in class mhframework.media.MHMediaTracker
Returns the number of images for which loading has been requested.
getImageGroup() - Method in class mhframework.media.MHPlayingCard
 
getImageGroup() - Method in class mhframework.MHActor
 
getIncrement() - Method in class mhframework.gui.MHGUINumericCycleControl
 
getInputText() - Method in class mhframework.gui.MHGUIInputDialogScreen
 
getInstance() - Static method in class mhframework.media.MHMediaTracker
 
getIPAddress() - Method in class mhframework.net.server.MHServerModule
 
getItemFile() - Method in class mhframework.tilemap.MHMap
Returns the itemFile.
getLayer(int) - Method in class mhframework.tilemap.MHMapCell
 
getMagnitude() - Method in class mhframework.MHVector
 
getMapCell(int, int) - Method in class mhframework.tilemap.MHMap
Returns the map cell at the given coordinates
getMapData() - Method in class mhframework.tilemap.MHTileMap
Returns a reference to the MHMap object serving as the map's data structure.
getMapFileInfo() - Static method in class mhframework.tilemap.MHMap
 
getMapFileName() - Method in class mhframework.tilemap.MHMap
Returns the fileName.
getMaxConnections() - Method in class mhframework.net.client.MHClientModule
 
getMaxConnections() - Method in class mhframework.net.server.MHServerModule
 
getMaxHealth() - Method in class mhframework.MHActor
Returns this actor's maximum health value
getMaxValue() - Method in class mhframework.gui.MHGUINumericCycleControl
 
getMaxValue() - Method in class mhframework.gui.MHGUIStatusIndicator
 
getMediaTracker() - Method in class mhframework.media.MHResourceManager
 
getMediaTracker() - Static method in class mhframework.MHDataModel
 
getMessage() - Method in class mhframework.gui.MHGUIDialogScreen
 
getMessage() - Method in class mhframework.net.client.MHClientModule
Retrieve the next message from the queue.
getMessageType() - Method in class mhframework.net.MHNetworkMessage
 
getMidiPlayer() - Method in class mhframework.media.MHResourceManager
 
getMidiPlayer() - Method in class mhframework.MHDataModel
 
getMinValue() - Method in class mhframework.gui.MHGUINumericCycleControl
 
getName() - Method in interface mhframework.MHInteractive
Returns the name of a game object.
getNextButton() - Method in class mhframework.gui.MHGUICycleControl
 
getNextScreen() - Method in class mhframework.MHScreen
Returns a reference to the next screen to be pushed.
getNormalColor() - Method in class mhframework.gui.MHGUIButton
Returns the normalColor.
getNumSequences() - Method in class mhframework.media.MHImageGroup
Returns the number of animation sequences in this image group.
getObject(int, int) - Method in interface mhframework.MHObjectFactory
Accepts layer and tile identifiers, instantiates a special object indicated by them, and returns a reference to it.
getOriginPoint() - Method in class mhframework.MHVector
 
getOverColor() - Method in class mhframework.gui.MHGUIButton
Returns the overColor.
getPayload() - Method in class mhframework.net.MHNetworkMessage
 
getPctLoaded() - Method in class mhframework.media.MHMediaTracker
 
getPlayerName() - Method in class mhframework.net.client.MHClientModule
 
getPort() - Method in class mhframework.net.server.MHServerModule
 
getPreviousButton() - Method in class mhframework.gui.MHGUICycleControl
 
getPreviousScreen() - Method in class mhframework.MHScreen
 
getResolution() - Static method in class mhframework.MHAppLauncher
 
getReturnCode() - Method in class mhframework.gui.MHGUIDialogScreen
 
getRotation() - Method in class mhframework.MHActor
 
getRotationSpeed() - Method in class mhframework.MHActor
 
getScale() - Method in class mhframework.MHActor
 
getScaledBounds() - Method in class mhframework.MHActor
Calculates and returns the bounding rectangle for this actor's current sprite image at its current scale.
getScreen() - Method in class mhframework.MHScreenManager
Retrieves the current screen.
getScreenAnchor() - Method in class mhframework.tilemap.MHTileMap
Returns the screenAnchor.
getScreenManager() - Static method in class mhframework.MHGame
 
getScreenSize() - Static method in class mhframework.MHDisplayModeChooser
 
getScreenSpace() - Method in class mhframework.tilemap.MHTileMap
Returns the screenSpace.
getSelectedFile() - Method in class mhframework.gui.MHGUIFileDialogScreen
 
getSelectedIndex() - Method in class mhframework.gui.MHGUICycleControl
 
getSelectedValue() - Method in class mhframework.gui.MHGUIColorCycleControl
 
getSelectedValue() - Method in class mhframework.gui.MHGUICycleControl
 
getSelectedValue() - Method in class mhframework.gui.MHGUINumericCycleControl
 
getSequence(String) - Method in class mhframework.media.MHMidiPlayer
Loads a sequence from the file system.
getSequencer() - Method in class mhframework.media.MHMidiPlayer
Gets the sequencer.
getSerializableVersion() - Method in interface mhframework.MHSerializable
Creates an object that contains only the serializable parts of this class so that a representative object can be sent through a stream.
getSerializedVersion() - Method in class mhframework.net.server.MHClientList
 
getSize() - Method in class mhframework.gui.MHGUIComponentList
 
getSize() - Method in class mhframework.MHActorList
Returns the number of actors in the list.
getSoundManager() - Method in class mhframework.media.MHResourceManager
 
getSoundManager() - Method in class mhframework.MHDataModel
Returns a reference to the sound manager.
getSpawns() - Method in interface mhframework.MHSpawner
Returns an array of spawned actors.
getSpeed() - Method in class mhframework.MHActor
 
getStatus() - Method in class mhframework.net.client.MHClientModule
 
getStatusMessage() - Method in class mhframework.net.client.MHClientModule
 
getSuit() - Method in class mhframework.media.MHPlayingCard
Return an integer indicating the suit of this card.
getText() - Method in class mhframework.gui.MHGUILabel
 
getText() - Method in class mhframework.gui.MHGUITextDisplayArea
 
getTextColor() - Method in class mhframework.gui.MHGUIDialogScreen
 
getTileHeight() - Method in class mhframework.tilemap.MHIsometricMap
Returns the vertical height of the standard base tile image in this tile map.
getTileHeight() - Method in class mhframework.tilemap.MHTileMap
Returns the height of a base tile in this tile map.
getTileImage(int, int, int) - Method in class mhframework.tilemap.MHTileSetManager
Returns the requested tile image.
getTileImageGroup(int) - Method in class mhframework.tilemap.MHTileSetManager
Returns the image group for a layer of tiles.
getTileSetId() - Method in class mhframework.tilemap.MHMap
Returns the tileSetId.
getTileSetManager() - Method in class mhframework.media.MHResourceManager
 
getTileSetManager() - Static method in class mhframework.MHDataModel
Returns a reference to the tile set manager.
getTileWidth() - Method in class mhframework.tilemap.MHTileMap
Returns the width of a base tile in this tile map.
getTitle() - Method in class mhframework.gui.MHGUIDialogScreen
 
getTitleColor() - Method in class mhframework.gui.MHGUIDialogScreen
 
getType() - Method in class mhframework.gui.MHGUIButton
Returns the type.
getVerticalSpeed() - Method in class mhframework.MHActor
Returns the vertical speed value for this actor.
getWallFile() - Method in class mhframework.tilemap.MHMap
Returns the wallFile.
getWidth() - Method in class mhframework.gui.MHGUIComponent
 
getWidth() - Method in class mhframework.MHActor
 
getWidth() - Method in class mhframework.tilemap.MHMap
Returns the number of columns in the map.
getX() - Method in class mhframework.gui.MHGUIComponent
 
getX() - Method in class mhframework.MHActor
Returns the x coordinate of this actor's left edge
getX() - Method in class mhframework.MHPoint
Returns the x component of this point.
getY() - Method in class mhframework.gui.MHGUIComponent
 
getY() - Method in class mhframework.MHActor
Returns the y coordinate of this actor's top side
getY() - Method in class mhframework.MHPoint
Returns the y component of this point.

H

hasFocus() - Method in class mhframework.gui.MHGUIComponent
 
HCENTER - Static variable in class mhframework.media.MHImageFont
 
height - Variable in class mhframework.gui.MHGUIComponent
Size of the component.
HEIGHT - Static variable in class mhframework.tilemap.MHIsoMouseMap
The height of the mouse map matrix.
height - Variable in class mhframework.tilemap.MHMapFileInfo
 
hideErrorMessage() - Method in class mhframework.MHScreen
 
hitByWeapon(MHWeapon) - Method in interface mhframework.MHInteractive
To be called when an object implementing this interface is hit by a weapon.

I

icon - Variable in class mhframework.gui.MHGUIButton
The icon on the button
id - Variable in class mhframework.net.MHSerializableClientInfo
 
id - Variable in class mhframework.net.server.MHClientInfo
 
IMAGE_TYPE_GIF - Static variable in class mhframework.gui.MHGUIButton
Indicates that button image files are in GIF format.
IMAGE_TYPE_JPG - Static variable in class mhframework.gui.MHGUIButton
Indicates that button image files are in JPEG (JPG) format.
IMAGE_TYPE_PNG - Static variable in class mhframework.gui.MHGUIButton
Indicates that button image files are in PNG format.
images - Variable in class mhframework.gui.MHGUIButton
Array of button images for BUTTON_NORMAL, BUTTON_DOWN, and BUTTON_OVER states.
increment() - Method in class mhframework.gui.MHGUICycleControl
 
increment() - Method in class mhframework.gui.MHGUINumericCycleControl
 
input - Variable in class mhframework.gui.MHGUIInputDialogScreen
 
isAnchorCoordinate(Point) - Method in class mhframework.tilemap.MHTileMap
Determines if the given point is a valid anchor coordinate.
isAnimationFinished() - Method in class mhframework.MHActor
 
isChannelPlaying(int) - Method in class mhframework.media.MHSoundManager
States whether the requested channel is currently playing a sound.
isCursorOn() - Method in class mhframework.tilemap.MHIsometricMap
Returns the cursorOn.
isDisposable() - Method in class mhframework.MHScreen
 
isEmpty() - Method in class mhframework.media.MHPlayingCardDeck
 
isEmpty() - Method in class mhframework.MHActorList
States whether the actor list is empty.
isEnabled() - Method in class mhframework.gui.MHGUIComponent
 
isFaceDown() - Method in class mhframework.media.MHPlayingCard
 
isFinished() - Method in class mhframework.MHScreen
Returns the value of the "finished" flag.
isFullScreen() - Static method in class mhframework.MHDisplayModeChooser
 
isListening() - Method in class mhframework.net.server.MHServerModule
 
isMessageWaiting() - Method in class mhframework.net.client.MHClientModule
Return true if the queue of incoming messages is not empty; return false it if is.
isPaused() - Method in class mhframework.media.MHMidiPlayer
Returns the paused state.
isProgramOver() - Method in class mhframework.MHDataModel
Determines whether the entire program has finished executing.
isProgramOver() - Static method in class mhframework.MHGame
 
isScreenCoordinate(Point) - Method in class mhframework.tilemap.MHTileMap
Determines if the given point is a valid screen coordinate.
isSoundPlaying(int) - Method in class mhframework.media.MHSoundManager
States whether the sound specified by soundId is currently playing.
isTraversable() - Method in interface mhframework.MHInteractive
Returns true if the actor implementing this interface can be "walked" over.
isVisible() - Method in class mhframework.gui.MHGUIComponent
 
isWorldCoordinate(Point) - Method in class mhframework.tilemap.MHTileMap
Determines if the given point is a valid world coordinate.
ITEM_LAYER - Static variable in class mhframework.tilemap.MHMapCell
 
itemFile - Variable in class mhframework.tilemap.MHMapFileInfo
 
iterator() - Method in class mhframework.net.MHSerializableClientList
Allows the use of enhanced for loops for iterating through this collection.
iterator() - Method in class mhframework.net.server.MHClientList
 

J

JACK - Static variable in class mhframework.media.MHPlayingCard
 

K

keyListener - Variable in class mhframework.gui.MHGUIButton
 
keyPressed(KeyEvent) - Method in class mhframework.event.MHKeyListener
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIButton
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIButtonMenu
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIChatClient
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIClientListDisplay
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIComponent
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIComponentList
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUICycleControl
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIInputDialogScreen
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUILabel
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIListBox
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUIStatusIndicator
 
keyPressed(KeyEvent) - Method in class mhframework.gui.MHGUITextDisplayArea
 
keyPressed(KeyEvent) - Method in class mhframework.MHGame
Sends Key Pressed events to the screen manager.
keyPressed(KeyEvent) - Method in class mhframework.MHGameApplication
Sends Key Pressed events to the game object.
keyPressed(KeyEvent) - Method in class mhframework.MHScreen
Delivers Key Pressed events to the GUI components.
keyPressed(KeyEvent) - Method in class mhframework.MHScreenManager
 
keyReleased(KeyEvent) - Method in class mhframework.event.MHKeyListener
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUIButton
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUIButtonMenu
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUIChatClient
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUIClientListDisplay
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUIComponent
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUIComponentList
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUICycleControl
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUILabel
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUIListBox
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUIStatusIndicator
 
keyReleased(KeyEvent) - Method in class mhframework.gui.MHGUITextDisplayArea
 
keyReleased(KeyEvent) - Method in class mhframework.MHGame
Sends Key Released events to the screen manager.
keyReleased(KeyEvent) - Method in class mhframework.MHGameApplication
Sends Key Released events to the game object.
keyReleased(KeyEvent) - Method in class mhframework.MHScreen
Delivers Key Released events to the GUI components.
keyReleased(KeyEvent) - Method in class mhframework.MHScreenManager
 
keyTyped(KeyEvent) - Method in class mhframework.event.MHKeyListener
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUIButton
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUIButtonMenu
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUIChatClient
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUIClientListDisplay
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUIComponent
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUIComponentList
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUICycleControl
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUILabel
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUIListBox
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUIStatusIndicator
 
keyTyped(KeyEvent) - Method in class mhframework.gui.MHGUITextDisplayArea
 
keyTyped(KeyEvent) - Method in class mhframework.MHGame
Sends Key Typed events to the screen manager.
keyTyped(KeyEvent) - Method in class mhframework.MHGameApplication
Sends Key Typed events to the game object.
keyTyped(KeyEvent) - Method in class mhframework.MHScreen
Delivers Key Typed events to the GUI components.
keyTyped(KeyEvent) - Method in class mhframework.MHScreenManager
 
KING - Static variable in class mhframework.media.MHPlayingCard
 

L

LAYER_FILE_EXTENSION - Static variable in class mhframework.tilemap.MHMapFileInfo
 
lblValue - Variable in class mhframework.gui.MHGUICycleControl
 
LEFT - Static variable in class mhframework.media.MHImageFont
 
load() - Method in class mhframework.gui.MHGUIDialogScreen
 
load() - Method in class mhframework.gui.MHGUIFileDialogScreen
 
load(String) - Method in class mhframework.media.MHImageFont
Loads the image files for each character from the specified path.
load() - Method in class mhframework.MHScreen
Set up a screen and prepare it to run.
loadImage(String) - Static method in class mhframework.media.MHImageGroup
 
loadImage(String) - Static method in class mhframework.media.MHResourceManager
 
loadImage(String, String) - Static method in class mhframework.media.MHResourceManager
Loads images from a JAR file.
loadImage(String) - Method in class mhframework.MHDataModel
 
loadMapFile(String) - Method in class mhframework.tilemap.MHMap
Loads all the data files listed in the given file name.
loadMidiFile(String) - Method in class mhframework.MHDataModel
 
loadSoundFile(String) - Method in class mhframework.MHDataModel
 
loadTileSet(int) - Method in class mhframework.tilemap.MHTileSetManager
Loads the tile set specified by the given tile set number.

M

main(String[]) - Static method in class mhframework.gui.MHGUICycleControl
 
main(String[]) - Static method in class mhframework.gui.MHGUIFileDialogScreen
 
main(String[]) - Static method in class mhframework.media.MHMidiPlayer
 
main(String[]) - Static method in class mhframework.MHAppLauncher
 
main(String[]) - Static method in class mhframework.MHGameApplication
FOR UNIT TESTING ONLY.
main(String[]) - Static method in class mhframework.net.server.MHServerModule
 
main(String[]) - Static method in class mhframework.tilemap.MHIsoMouseMap
For testing only.
MAP_FILE_EXTENSION - Static variable in class mhframework.tilemap.MHMapFileInfo
 
mapMouse(Point) - Method in class mhframework.tilemap.MHHexMap
 
mapMouse(Point) - Method in class mhframework.tilemap.MHIsometricMap
Converts a screen (mouse) coordinate into a map coordinate.
mapMouse(Point) - Method in class mhframework.tilemap.MHTileMap
Converts mouse coordinates into a map cell address.
MAX_DIRECTIONS - Static variable in class mhframework.tilemap.MHTileMap
Maximum number of directions.
MAX_DIRECTIONS - Static variable in interface mhframework.tilemap.MHTileMapDirections
Maximum number of directions.
MAX_TILE_SETS - Static variable in class mhframework.tilemap.MHTileSetManager
Maximum number of supported tile sets.
meta(MetaMessage) - Method in class mhframework.media.MHMidiPlayer
This method is called by the sound system when a meta event occurs.
MHActor - Class in mhframework
Base class for creating interactive or autonomous game actors.
MHActor() - Constructor for class mhframework.MHActor
Constructor.
MHActorList - Class in mhframework
This class keeps a collection of MHActor objects.
MHActorList() - Constructor for class mhframework.MHActorList
Constructor.
MHAppLauncher - Class in mhframework
Requests initial configuration settings from the user.
MHAppLauncher() - Constructor for class mhframework.MHAppLauncher
 
MHBlurFilter - Class in mhframework
Creates an image filter for blurring an image.
MHBlurFilter() - Constructor for class mhframework.MHBlurFilter
 
MHClientInfo - Class in mhframework.net.server
 
MHClientInfo(String, Color, int, Socket, ObjectOutputStream) - Constructor for class mhframework.net.server.MHClientInfo
 
MHClientList - Class in mhframework.net.server
 
MHClientList() - Constructor for class mhframework.net.server.MHClientList
 
MHClientModule - Class in mhframework.net.client
This class can be instantiated by any client application that needs to communicate with a multiplayer server.
MHClientModule(String) - Constructor for class mhframework.net.client.MHClientModule
Connects to the server specified by hostIP using the default port (5000), and then begins a background thread to receive messages.
MHClientModule(String, int) - Constructor for class mhframework.net.client.MHClientModule
Connects to the server specified by hostIP on the port specified by port, and then begins a background thread to receive messages.
MHDataModel - Class in mhframework
A facade for game engine utilities in MHFramework.
MHDataModel() - Constructor for class mhframework.MHDataModel
 
MHDiamondMap - Class in mhframework.tilemap
Handles the presentation of a diamond (angled) isometric map.
MHDiamondMap(String, MHObjectFactory) - Constructor for class mhframework.tilemap.MHDiamondMap
 
MHDisplayModeChooser - Class in mhframework
Abstract class for switching full-screen display modes and maintaining references to critical singleton objects.
MHDisplayModeChooser() - Constructor for class mhframework.MHDisplayModeChooser
 
mhframework - package mhframework
 
mhframework.event - package mhframework.event
 
mhframework.gui - package mhframework.gui
 
mhframework.media - package mhframework.media
 
mhframework.net - package mhframework.net
 
mhframework.net.client - package mhframework.net.client
 
mhframework.net.server - package mhframework.net.server
 
mhframework.tilemap - package mhframework.tilemap
 
MHFrameworkConstants - Class in mhframework
 
MHFrameworkConstants() - Constructor for class mhframework.MHFrameworkConstants
 
MHGame - Class in mhframework
This class drives the entire game process.
MHGame(MHScreenManager) - Constructor for class mhframework.MHGame
Constructor.
MHGameApplication - Class in mhframework
Main application class for a game created with my MHFramework package.
MHGameApplication(MHScreen, MHVideoSettings) - Constructor for class mhframework.MHGameApplication
Constructor.
MHGameServer - Interface in mhframework.net.server
Interface implemented by the server side of a client/server game.
MHGUIButton - Class in mhframework.gui
This class provides graphical image-based buttons within my game framework.
MHGUIButton() - Constructor for class mhframework.gui.MHGUIButton
Default constructor which creates a text-only button.
MHGUIButton(Image, Image, Image) - Constructor for class mhframework.gui.MHGUIButton
Default constructor which creates a text-only button.
MHGUIButton(String) - Constructor for class mhframework.gui.MHGUIButton
Overloaded constructor which creates an image button from GIF files.
MHGUIButton(String, String) - Constructor for class mhframework.gui.MHGUIButton
Overloaded constructor which creates an image button from files of a specified type.
MHGUIButtonMenu - Class in mhframework.gui
Class for making a menu of buttons.
MHGUIButtonMenu() - Constructor for class mhframework.gui.MHGUIButtonMenu
Constructor.
MHGUIChatClient - Class in mhframework.gui
 
MHGUIChatClient(MHClientModule, int, int, int, int) - Constructor for class mhframework.gui.MHGUIChatClient
 
MHGUIClientListDisplay - Class in mhframework.gui
 
MHGUIClientListDisplay() - Constructor for class mhframework.gui.MHGUIClientListDisplay
 
MHGUIClientListDisplay(MHSerializableClientList) - Constructor for class mhframework.gui.MHGUIClientListDisplay
 
MHGUIColorCycleControl - Class in mhframework.gui
 
MHGUIColorCycleControl() - Constructor for class mhframework.gui.MHGUIColorCycleControl
 
MHGUIComponent - Class in mhframework.gui
Base class for creating custom visual components.
MHGUIComponent() - Constructor for class mhframework.gui.MHGUIComponent
 
MHGUIComponentList - Class in mhframework.gui
Container class for maintaining a list of my custom GUI components.
MHGUIComponentList() - Constructor for class mhframework.gui.MHGUIComponentList
 
MHGUICycleControl - Class in mhframework.gui
 
MHGUICycleControl() - Constructor for class mhframework.gui.MHGUICycleControl
 
MHGUIDialogScreen - Class in mhframework.gui
 
MHGUIDialogScreen() - Constructor for class mhframework.gui.MHGUIDialogScreen
 
MHGUIFileDialogScreen - Class in mhframework.gui
 
MHGUIFileDialogScreen(String) - Constructor for class mhframework.gui.MHGUIFileDialogScreen
Creates a dialog screen listing all files in given directory.
MHGUIFileDialogScreen(String, String) - Constructor for class mhframework.gui.MHGUIFileDialogScreen
Creates a dialog screen listing files in the given directory having the extension specified by fileType.
MHGUIInputDialogScreen - Class in mhframework.gui
 
MHGUIInputDialogScreen() - Constructor for class mhframework.gui.MHGUIInputDialogScreen
 
MHGUILabel - Class in mhframework.gui
Custom label component class.
MHGUILabel() - Constructor for class mhframework.gui.MHGUILabel
 
MHGUILabel(String) - Constructor for class mhframework.gui.MHGUILabel
 
MHGUIListBox - Class in mhframework.gui
Class for making a list box for use within an MHFramework application.
MHGUIListBox() - Constructor for class mhframework.gui.MHGUIListBox
Constructor.
MHGUINumericCycleControl - Class in mhframework.gui
 
MHGUINumericCycleControl() - Constructor for class mhframework.gui.MHGUINumericCycleControl
 
MHGUIStatusIndicator - Class in mhframework.gui
Provides a rectangular status indicator similar to a progress bar.
MHGUIStatusIndicator() - Constructor for class mhframework.gui.MHGUIStatusIndicator
Constructor.
MHGUITextDisplayArea - Class in mhframework.gui
 
MHGUITextDisplayArea() - Constructor for class mhframework.gui.MHGUITextDisplayArea
 
MHHexMap - Class in mhframework.tilemap
Handles the presentation of a hexagonal tile map.
MHHexMap(String, MHObjectFactory) - Constructor for class mhframework.tilemap.MHHexMap
 
MHImageFilter - Interface in mhframework
Interface for classes that must filter images with various effects.
MHImageFont - Class in mhframework.media
The MHImageFont class allows loading and drawing of text using images for the characters.
MHImageFont() - Constructor for class mhframework.media.MHImageFont
Creates a new MHImageFont with no characters.
MHImageFont(String) - Constructor for class mhframework.media.MHImageFont
Creates a new MHImageFont and loads character images from the specified path.
MHImageGroup - Class in mhframework.media
Maintains a complete set of animation sequences (MHFrameSequence objects) for a particular type of actor (MHActor).
MHImageGroup() - Constructor for class mhframework.media.MHImageGroup
Constructor.
MHInteractive - Interface in mhframework
This interface is implemented by all objects in the game universe that must interact with each other.
MHIsometricMap - Class in mhframework.tilemap
Abstract base class for deriving isometric tile maps.
MHIsometricMap(String, MHObjectFactory) - Constructor for class mhframework.tilemap.MHIsometricMap
Constructor.
MHIsoMouseMap - Class in mhframework.tilemap
Mouse map for isometric tile maps.
MHIsoMouseMap() - Constructor for class mhframework.tilemap.MHIsoMouseMap
Constructor.
MHKeyListener - Class in mhframework.event
Key event handler for games made with the MHFramework package.
MHKeyListener(MHGameApplication) - Constructor for class mhframework.event.MHKeyListener
 
MHMap - Class in mhframework.tilemap
Maintains data for a grid-based game map.
MHMap(int, int, MHObjectFactory) - Constructor for class mhframework.tilemap.MHMap
Constructor that creates a map with the given number of rows and columns.
MHMap(String, MHObjectFactory) - Constructor for class mhframework.tilemap.MHMap
Constructor that creates a map using the given map file name.
MHMapCell - Class in mhframework.tilemap
A single cell in the map grid (MHMap).
MHMapCell() - Constructor for class mhframework.tilemap.MHMapCell
Constructor.
MHMapCellAddress - Class in mhframework.tilemap
Data storage class used to simplify the passing of map coordinates around as parameters.
MHMapCellAddress(int, int) - Constructor for class mhframework.tilemap.MHMapCellAddress
 
MHMapCellAddress() - Constructor for class mhframework.tilemap.MHMapCellAddress
 
MHMapFileInfo - Class in mhframework.tilemap
 
MHMapFileInfo() - Constructor for class mhframework.tilemap.MHMapFileInfo
 
MHMediaTracker - Class in mhframework.media
 
MHMessageType - Class in mhframework.net
 
MHMessageType() - Constructor for class mhframework.net.MHMessageType
 
MHMidiPlayer - Class in mhframework.media
Plays MIDI files.
MHMidiPlayer() - Constructor for class mhframework.media.MHMidiPlayer
Constructor.
MHMouseListener - Class in mhframework.event
Mouse event handler for games made with the MHFramework package.
MHMouseListener(MHGameApplication) - Constructor for class mhframework.event.MHMouseListener
 
MHMouseMotionListener - Class in mhframework.event
Mouse motion listener for the games made with the MHFramework package.
MHMouseMotionListener(MHGameApplication) - Constructor for class mhframework.event.MHMouseMotionListener
Constructor.
MHNetworkMessage - Class in mhframework.net
Provides a standard structure for network communication for a client/server app powered by MHFramework.
MHNetworkMessage() - Constructor for class mhframework.net.MHNetworkMessage
Constructor.
MHNetworkMessage(String, Serializable) - Constructor for class mhframework.net.MHNetworkMessage
Constructor.
MHObjectFactory - Interface in mhframework
This interface is to be implemented by the class in your game that is responsible for taking a tile ID and returning a special non-static object.
MHPlayingCard - Class in mhframework.media
 
MHPlayingCard(int, int) - Constructor for class mhframework.media.MHPlayingCard
 
MHPlayingCard(int) - Constructor for class mhframework.media.MHPlayingCard
 
MHPlayingCardDeck - Class in mhframework.media
 
MHPlayingCardDeck() - Constructor for class mhframework.media.MHPlayingCardDeck
 
MHPoint - Class in mhframework
Represents a point in 2D space.
MHPoint() - Constructor for class mhframework.MHPoint
Default constructor.
MHPoint(double, double) - Constructor for class mhframework.MHPoint
Constructor.
MHPoint(MHPoint) - Constructor for class mhframework.MHPoint
Constructor.
MHRenderable - Interface in mhframework
Everything in the game that appears on screen and manages its own data must implement this interface.
MHResourceManager - Class in mhframework.media
 
MHResourceManager() - Constructor for class mhframework.media.MHResourceManager
 
MHRotationLookup - Class in mhframework
 
MHScreen - Class in mhframework
This is an abstract base class for deriving game screens.
MHScreen() - Constructor for class mhframework.MHScreen
Default constructor.
MHScreenManager - Class in mhframework
The MHScreenManager class maintains references to the current screen, the application's data model, and encapsulates a screen stack (MHScreenStack) for providing the ability to backtrack through multiple game screens.
MHScreenManager(MHScreen) - Constructor for class mhframework.MHScreenManager
Constructor.
MHSerializable - Interface in mhframework
Interface for classes that must be transmitted across a network or written to a file.
MHSerializableClientInfo - Class in mhframework.net
A simple class for allowing clients to keep information on which other clients are connected to the same server.
MHSerializableClientInfo(int, String, Color) - Constructor for class mhframework.net.MHSerializableClientInfo
 
MHSerializableClientList - Class in mhframework.net
This class represents the list of connected clients that is passed from the server to the clients during a MHMessageType.BROADCAST_CLIENT_LIST operation.
MHSerializableClientList() - Constructor for class mhframework.net.MHSerializableClientList
 
MHServerModule - Class in mhframework.net.server
The MHServerModule class provides a network interface for a multiplayer game server.
MHServerModule() - Constructor for class mhframework.net.server.MHServerModule
Creates a server module that listens for connections on the default port (MHServerModule.DEFAULT_PORT).
MHServerModule(int) - Constructor for class mhframework.net.server.MHServerModule
Creates a server module that listens for connections on the specified port.
MHSoundManager - Class in mhframework.media
Manages all sound data for a game application made with the MHFramework package.
MHSoundManager() - Constructor for class mhframework.media.MHSoundManager
Constructor.
MHSpawner - Interface in mhframework
This interface is to be implemented by objects that must spawn other objects into the game world.
MHStaggeredMap - Class in mhframework.tilemap
Handles the presentation of a staggered (layered) isometric map.
MHStaggeredMap(String, MHObjectFactory) - Constructor for class mhframework.tilemap.MHStaggeredMap
 
MHStaggeredMap(String, MHObjectFactory, boolean) - Constructor for class mhframework.tilemap.MHStaggeredMap
 
MHTileMap - Class in mhframework.tilemap
Base class for deriving tile-based map objects.
MHTileMap(String, MHObjectFactory) - Constructor for class mhframework.tilemap.MHTileMap
Constructor.
MHTileMapDirections - Interface in mhframework.tilemap
 
MHTileSetManager - Class in mhframework.tilemap
This class manages the complete collection of all the tilesets in a game.
MHTileSetManager() - Constructor for class mhframework.tilemap.MHTileSetManager
Constructor.
MHTileSetManager(int) - Constructor for class mhframework.tilemap.MHTileSetManager
Constructor.
MHVector - Class in mhframework
 
MHVector() - Constructor for class mhframework.MHVector
 
MHVector(double, double, double, double) - Constructor for class mhframework.MHVector
 
MHVideoSettings - Class in mhframework
Class used for requesting specific video mode parameters.
MHVideoSettings() - Constructor for class mhframework.MHVideoSettings
 
MHWeapon - Class in mhframework
 
MHWeapon() - Constructor for class mhframework.MHWeapon
 
mouseClicked(MouseEvent) - Method in class mhframework.event.MHMouseListener
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUIButton
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUIButtonMenu
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUIChatClient
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUIClientListDisplay
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUIComponent
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUIComponentList
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUICycleControl
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUILabel
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUIListBox
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUIStatusIndicator
 
mouseClicked(MouseEvent) - Method in class mhframework.gui.MHGUITextDisplayArea
 
mouseClicked(MouseEvent) - Method in class mhframework.MHGame
Sends Mouse Clicked events to the screen manager.
mouseClicked(MouseEvent) - Method in class mhframework.MHGameApplication
Sends Mouse Clicked events to the game object.
mouseClicked(MouseEvent) - Method in class mhframework.MHScreen
Delivers Mouse Clicked events to the GUI components.
mouseClicked(MouseEvent) - Method in class mhframework.MHScreenManager
 
mouseDragged(MouseEvent) - Method in class mhframework.event.MHMouseMotionListener
Not currently implemented.
mouseDragged(MouseEvent) - Method in class mhframework.gui.MHGUIComponent
 
mouseEntered(MouseEvent) - Method in class mhframework.event.MHMouseListener
 
mouseEntered(MouseEvent) - Method in class mhframework.gui.MHGUIComponent
 
mouseExited(MouseEvent) - Method in class mhframework.event.MHMouseListener
 
mouseExited(MouseEvent) - Method in class mhframework.gui.MHGUIComponent
 
mouseListener - Variable in class mhframework.gui.MHGUIButton
 
mouseMap - Variable in class mhframework.tilemap.MHIsometricMap
 
mouseMotionListener - Variable in class mhframework.gui.MHGUIButton
 
mouseMoved(MouseEvent) - Method in class mhframework.event.MHMouseMotionListener
Sends Mouse Moved events to the game application.
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUIButton
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUIButtonMenu
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUIChatClient
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUIClientListDisplay
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUIComponent
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUIComponentList
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUICycleControl
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUILabel
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUIListBox
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUIStatusIndicator
 
mouseMoved(MouseEvent) - Method in class mhframework.gui.MHGUITextDisplayArea
 
mouseMoved(MouseEvent) - Method in class mhframework.MHGame
Sends Mouse Moved events to the screen manager.
mouseMoved(MouseEvent) - Method in class mhframework.MHGameApplication
Sends Mouse Moved events to the game object.
mouseMoved(MouseEvent) - Method in class mhframework.MHScreen
Delivers Mouse Moved events to the GUI components.
mouseMoved(MouseEvent) - Method in class mhframework.MHScreenManager
 
mouseMoved(MouseEvent) - Method in class mhframework.tilemap.MHTileMap
 
mousePressed(MouseEvent) - Method in class mhframework.event.MHMouseListener
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUIButton
Sets the button to its "pressed" state if it is enabled and the click event took place over the button.
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUIButtonMenu
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUIChatClient
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUIClientListDisplay
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUIComponent
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUIComponentList
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUICycleControl
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUILabel
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUIListBox
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUIStatusIndicator
 
mousePressed(MouseEvent) - Method in class mhframework.gui.MHGUITextDisplayArea
 
mousePressed(MouseEvent) - Method in class mhframework.MHGame
Sends Mouse Pressed events to the screen manager.
mousePressed(MouseEvent) - Method in class mhframework.MHGameApplication
Sends Mouse Pressed events to the game object.
mousePressed(MouseEvent) - Method in class mhframework.MHScreen
Delivers Mouse Pressed events to the GUI components.
mousePressed(MouseEvent) - Method in class mhframework.MHScreenManager
 
mouseReleased(MouseEvent) - Method in class mhframework.event.MHMouseListener
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUIButton
Simulates the "clicking" of a button by informing the action listener that a click event took place.
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUIButtonMenu
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUIChatClient
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUIClientListDisplay
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUIComponent
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUIComponentList
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUICycleControl
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUILabel
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUIListBox
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUIStatusIndicator
 
mouseReleased(MouseEvent) - Method in class mhframework.gui.MHGUITextDisplayArea
 
mouseReleased(MouseEvent) - Method in class mhframework.MHGame
Sends Mouse Released events to the screen manager.
mouseReleased(MouseEvent) - Method in class mhframework.MHGameApplication
Sends Mouse Released events to the game object.
mouseReleased(MouseEvent) - Method in class mhframework.MHScreen
Delivers Mouse Released events to the GUI components.
mouseReleased(MouseEvent) - Method in class mhframework.MHScreenManager
 
movingTo(MHActor) - Method in interface mhframework.MHInteractive
To be triggered when an actor begins moving toward an object implementing this interface.

N

name - Variable in class mhframework.net.MHSerializableClientInfo
 
name - Variable in class mhframework.net.server.MHClientInfo
 
NATIVE_DISPLAY_HEIGHT - Static variable in class mhframework.MHDisplayModeChooser
 
NATIVE_DISPLAY_WIDTH - Static variable in class mhframework.MHDisplayModeChooser
 
nextFocusableComponent() - Method in class mhframework.gui.MHGUIComponentList
 
nextFocusableComponent() - Method in class mhframework.MHScreen
Sets the focus to the next component capable of receiving focus.
NINE - Static variable in class mhframework.media.MHPlayingCard
 
NORMAL_COLOR - Static variable in class mhframework.gui.MHGUIButton
 
normalColor - Variable in class mhframework.gui.MHGUIButton
Color of normal state
NULL_TILE_ID - Static variable in class mhframework.tilemap.MHTileSetManager
Placeholder indicating that tile should be null.
NUM_LAYERS - Static variable in class mhframework.tilemap.MHMapCell
 
NUMBER_OF_CARDS - Static variable in class mhframework.media.MHPlayingCardDeck
 

O

OK_OPTION - Static variable in class mhframework.gui.MHGUIDialogScreen
 
outputStream - Variable in class mhframework.net.server.MHClientInfo
 
OVER_COLOR - Static variable in class mhframework.gui.MHGUIButton
 
overColor - Variable in class mhframework.gui.MHGUIButton
Color of mouseover state

P

paint(Graphics2D) - Method in class mhframework.gui.MHGUIComponent
 
paint - Variable in class mhframework.gui.MHGUILabel
The paint used to color the label when it's enabled.
peek() - Method in class mhframework.net.client.MHClientModule
Peek at the next message in the queue without removing it.
pickUp(MHActor) - Method in interface mhframework.MHInteractive
To be called when a character picks up an item.
play(Sequence, boolean) - Method in class mhframework.media.MHMidiPlayer
Plays a sequence, optionally looping.
play(int, boolean, int) - Method in class mhframework.media.MHSoundManager
Plays a sound.
plotTile(int, int) - Method in class mhframework.tilemap.MHDiamondMap
 
plotTile(int, int) - Method in class mhframework.tilemap.MHHexMap
 
plotTile(int, int) - Method in class mhframework.tilemap.MHIsometricMap
Calculates the pixel position at which the input actor will be rendered.
plotTile(int, int) - Method in class mhframework.tilemap.MHStaggeredMap
Plots the upper-left anchor point of a base tile image.
plotTile(int, int) - Method in class mhframework.tilemap.MHTileMap
Tile plotter.
prevFocusableComponent() - Method in class mhframework.gui.MHGUIComponentList
 
prevFocusableComponent() - Method in class mhframework.MHScreen
Sets the focus to the previous component capable of receiving focus.
processImage(BufferedImage) - Method in class mhframework.MHBlurFilter
Applies a blurring filter to an image.
processImage(BufferedImage) - Method in interface mhframework.MHImageFilter
Apply a filter to a given image.

Q

QUEEN - Static variable in class mhframework.media.MHPlayingCard
 

R

receiveMessage(MHClientInfo, MHNetworkMessage, MHServerModule) - Method in interface mhframework.net.server.MHGameServer
Abstract method intended to process game-specific messages delegated here by the server module.
REGISTER_COLOR - Static variable in class mhframework.net.MHMessageType
 
REGISTER_NAME - Static variable in class mhframework.net.MHMessageType
 
registerPlayerColor(Color) - Method in class mhframework.net.client.MHClientModule
 
registerPlayerName(String) - Method in class mhframework.net.client.MHClientModule
 
remove(MHGUIComponent) - Method in class mhframework.gui.MHGUIComponentList
 
remove(int) - Method in class mhframework.MHActorList
Removes the actor at the given index and returns a reference to it.
remove(MHGUIComponent) - Method in class mhframework.MHScreen
Removes an MHGUIComponent object from the screen.
remove(int) - Method in class mhframework.net.MHSerializableClientList
Removes a client's information from this collection.
remove(Socket) - Method in class mhframework.net.server.MHClientList
 
remove(int) - Method in class mhframework.net.server.MHClientList
 
remove(String) - Method in class mhframework.net.server.MHClientList
 
removeScreen() - Method in class mhframework.MHScreenManager
Removes a screen from the screen stack.
render(Graphics2D) - Method in class mhframework.gui.MHGUIButton
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIButtonMenu
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIChatClient
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIClientListDisplay
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIColorCycleControl
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIComponentList
 
render(Graphics2D) - Method in class mhframework.gui.MHGUICycleControl
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIDialogScreen
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIFileDialogScreen
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIInputDialogScreen
 
render(Graphics2D) - Method in class mhframework.gui.MHGUILabel
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIListBox
 
render(Graphics2D) - Method in class mhframework.gui.MHGUINumericCycleControl
 
render(Graphics2D) - Method in class mhframework.gui.MHGUIStatusIndicator
Draws the status indicator onto the sent Graphics object.
render(Graphics2D) - Method in class mhframework.gui.MHGUITextDisplayArea
 
render(Graphics2D) - Method in class mhframework.media.MHPlayingCard
 
render(Graphics2D) - Method in class mhframework.MHActor
Draws the actor onto the sent graphics object based on its current action, animation frame number, and (x, y) coordinates
render(Graphics2D, int, int) - Method in class mhframework.MHActor
Draws the actor onto the sent graphics object at the (x, y) coordinates specified by rx and ry.
render(Graphics2D) - Method in class mhframework.MHActorList
Renders all actors in the list.
render(Graphics2D) - Method in interface mhframework.MHRenderable
Tells an object to draw itself onto the sent Graphics object.
render(Graphics2D) - Method in class mhframework.MHScreen
Draws the GUI components onto the sent Graphics object.
render(Graphics2D) - Method in class mhframework.MHScreenManager
Tells the current screen to draw itself onto the input Graphics2D object.
render(Graphics2D, boolean) - Method in class mhframework.tilemap.MHIsometricMap
Draws the map onto the sent Graphics object.
render(Graphics2D) - Method in class mhframework.tilemap.MHIsometricMap
Renders the map onto the sent Graphics object using an optimized algorithm.
render(Graphics2D, boolean[]) - Method in class mhframework.tilemap.MHIsometricMap
Renders the selected layers of the map onto the sent Graphics object using an optimized algorithm.
render(Graphics2D) - Method in class mhframework.tilemap.MHMapCell
 
render(Graphics2D, int, int, int) - Method in class mhframework.tilemap.MHMapCell
 
render(Graphics2D) - Method in class mhframework.tilemap.MHTileMap
 
reset() - Static method in class mhframework.media.MHMediaTracker
 
reset() - Method in class mhframework.media.MHPlayingCardDeck
 
reset() - Method in class mhframework.net.server.MHServerModule
 
resize(Graphics2D) - Method in class mhframework.gui.MHGUITextDisplayArea
 
RIGHT - Static variable in class mhframework.media.MHImageFont
 
rotate(double, double, double) - Method in class mhframework.MHPoint
Rotates this point around (originX, originY) by the angle specified.
row - Variable in class mhframework.tilemap.MHMapCellAddress
The row of the map indicated by this address.
run() - Method in class mhframework.MHGame
Executes the game loop.
run() - Method in class mhframework.net.client.MHClientModule
Continuously receives server messages and adds them to this class' internal message queue.

S

screenAnchor - Variable in class mhframework.tilemap.MHTileMap
The upper-left corner of the visible portion of the map.
screenSpace - Variable in class mhframework.tilemap.MHTileMap
A rectangle containing the screen coordinates.
screenToWorld(Point) - Method in class mhframework.tilemap.MHTileMap
Convert screen coordinates to world coordinates.
scrollMap(int, int) - Method in class mhframework.tilemap.MHTileMap
Scrolls the map in the distance specified by the input parameters.
send(int, MHNetworkMessage) - Method in class mhframework.net.server.MHServerModule
 
sendChat(String) - Method in class mhframework.net.client.MHClientModule
 
sendMessage(MHNetworkMessage) - Method in class mhframework.net.client.MHClientModule
Sends a message to the server.
sendToAll(MHNetworkMessage) - Method in class mhframework.net.server.MHServerModule
 
sequenceExists(int) - Method in class mhframework.media.MHImageGroup
 
SET_CONNECTION_LIMIT - Static variable in class mhframework.net.MHMessageType
 
setAnimationSequence(int) - Method in class mhframework.MHActor
Sets the actor's action.
setBackgroundColor(Color) - Method in class mhframework.gui.MHGUIButtonMenu
Sets the color for the menu's background.
setBackgroundColor(Color) - Method in class mhframework.gui.MHGUIDialogScreen
 
setBackgroundColor(Color) - Method in class mhframework.gui.MHGUIListBox
Sets the color for the list box's background.
setBackgroundColor(Color) - Method in class mhframework.gui.MHGUITextDisplayArea
 
setBackgroundImage(Image) - Method in class mhframework.gui.MHGUIDialogScreen
 
setBackgroundImage(Image) - Method in class mhframework.gui.MHGUITextDisplayArea
 
setBarColor(Color) - Method in class mhframework.gui.MHGUIStatusIndicator
Sets the color of the progress bar.
setBlurValue(float) - Method in class mhframework.MHBlurFilter
Sets the value to determine the amount of blur.
setBlurValue(float, float) - Method in class mhframework.MHBlurFilter
Sets the value to determine the amount of blur.
setBlurValues(float[]) - Method in class mhframework.MHBlurFilter
Sets the array of values to determine the amount of blur.
setBorderColor(Color) - Method in class mhframework.gui.MHGUIStatusIndicator
Sets the color of the border around the component.
setBorderColor(Color) - Method in class mhframework.gui.MHGUITextDisplayArea
 
setBorderSpacing(int) - Method in class mhframework.gui.MHGUIButtonMenu
Sets the distance in pixels between the edge of the menu and the buttons on the menu.
setBorderWidth(int) - Method in class mhframework.gui.MHGUITextDisplayArea
 
setButtonCaptions(String, String) - Method in class mhframework.gui.MHGUIDialogScreen
 
setButtonSize(int, int) - Method in class mhframework.gui.MHGUIButtonMenu
Sets the width and height of every button on the menu.
setCancelButton(MHGUIButton) - Method in class mhframework.gui.MHGUIDialogScreen
 
setClientColor(Socket, MHNetworkMessage) - Method in class mhframework.net.server.MHServerModule
 
setClientList(MHSerializableClientList) - Method in class mhframework.gui.MHGUIClientListDisplay
 
setClientName(Socket, MHNetworkMessage) - Method in class mhframework.net.server.MHServerModule
 
setConnectionLimit(int) - Method in class mhframework.net.server.MHServerModule
 
setCursor(String) - Method in class mhframework.MHDisplayModeChooser
 
setCursorOn(boolean) - Method in class mhframework.tilemap.MHIsometricMap
Sets the cursorOn.
setCursorPoint(Point) - Method in class mhframework.tilemap.MHTileMap
Sets the cursorPoint.
setDirectionAngle(double) - Method in class mhframework.MHVector
 
setDisabledPaint(Paint) - Method in class mhframework.gui.MHGUILabel
 
setDisposable(boolean) - Method in class mhframework.MHScreen
 
setDownColor(Color) - Method in class mhframework.gui.MHGUIButton
Sets the downColor.
setDuration(int, int, int) - Method in class mhframework.media.MHImageGroup
Sets the duration of the specified frame.
setEnabled(boolean) - Method in class mhframework.gui.MHGUIComponent
 
setFaceDown(boolean) - Method in class mhframework.media.MHPlayingCard
 
setFinished(boolean) - Method in class mhframework.MHScreen
Sets the value of the "finished" flag to the input parameter.
setFocus(boolean) - Method in class mhframework.gui.MHGUIComponent
 
setFocusable(boolean) - Method in class mhframework.gui.MHGUIComponent
 
setFont(Font) - Method in class mhframework.gui.MHGUIButton
 
setFont(Font) - Method in class mhframework.gui.MHGUILabel
 
setFont(Font) - Method in class mhframework.gui.MHGUIStatusIndicator
 
setFont(Font) - Method in class mhframework.gui.MHGUITextDisplayArea
 
setForeColor(Color) - Method in class mhframework.gui.MHGUIButton
 
setFrameNumber(int) - Method in class mhframework.MHActor
 
setFrameTimer(int) - Method in class mhframework.MHActor
Sets the value of the frame timer.
setGameServer(MHGameServer) - Method in class mhframework.net.server.MHServerModule
 
setHealth(int) - Method in class mhframework.MHActor
 
setHeight(int) - Method in class mhframework.gui.MHGUIComponent
 
setHeight(int) - Method in class mhframework.gui.MHGUICycleControl
 
setHorizontalSpeed(double) - Method in class mhframework.MHActor
Sets the horizontal movement speed of this actor.
setIcon(Image) - Method in class mhframework.gui.MHGUIButton
Sets the icon.
setImageGroup(MHImageGroup) - Method in class mhframework.MHActor
Assigns an existing MHImageGroup to this actor.
setIncrement(int) - Method in class mhframework.gui.MHGUINumericCycleControl
 
setLabelColor(Color) - Method in class mhframework.gui.MHGUICycleControl
 
setLabelFont(Font) - Method in class mhframework.gui.MHGUICycleControl
 
setLabelVisible(boolean) - Method in class mhframework.gui.MHGUICycleControl
 
setLayer(int, MHActor) - Method in class mhframework.tilemap.MHMapCell
 
setLocation(double, double) - Method in class mhframework.MHActor
Positions the actor at the coordinates specified by the input (x, y) parameters.
setLocation(double, double) - Method in class mhframework.MHPoint
Sets the location of this point.
setMagnitude(double) - Method in class mhframework.MHVector
 
setMaxHealth(int) - Method in class mhframework.MHActor
Sets the maximum health value for this actor.
setMaxValue(int) - Method in class mhframework.gui.MHGUINumericCycleControl
 
setMaxValue(int) - Method in class mhframework.gui.MHGUIStatusIndicator
Sets the maximum value that this status indicator can represent.
setMessage(String) - Method in class mhframework.gui.MHGUIDialogScreen
 
setMessageFont(Font) - Method in class mhframework.gui.MHGUIDialogScreen
 
setMessageType(String) - Method in class mhframework.net.MHNetworkMessage
 
setMinValue(int) - Method in class mhframework.gui.MHGUINumericCycleControl
 
setNextScreen(MHScreen) - Method in class mhframework.MHScreen
Sets a reference to the next screen to be pushed when this one is finished.
setNormalColor(Color) - Method in class mhframework.gui.MHGUIButton
Sets the normalColor.
setOKButton(MHGUIButton) - Method in class mhframework.gui.MHGUIDialogScreen
 
setOrientation(boolean) - Method in class mhframework.gui.MHGUIStatusIndicator
Sets the orientation of the component to horizontal or vertical.
setOverColor(Color) - Method in class mhframework.gui.MHGUIButton
Sets the overColor.
setPaint(Paint) - Method in class mhframework.gui.MHGUILabel
 
setPaint(GradientPaint) - Method in class mhframework.gui.MHGUIStatusIndicator
Sets an optional gradient paint with which to color the progress bar.
setPaused(boolean) - Method in class mhframework.media.MHMidiPlayer
Sets the paused state.
setPayload(Serializable) - Method in class mhframework.net.MHNetworkMessage
 
setPosition(int, int) - Method in class mhframework.gui.MHGUIComponent
 
setPreviousScreen(MHScreen) - Method in class mhframework.MHScreen
 
setProgramOver(boolean) - Static method in class mhframework.MHGame
 
setResolution(Dimension) - Static method in class mhframework.MHAppLauncher
 
setRotation(double) - Method in class mhframework.MHActor
 
setRotationSpeed(double) - Method in class mhframework.MHActor
 
setScale(double) - Method in class mhframework.MHActor
 
setScreenAnchor(Point) - Method in class mhframework.tilemap.MHTileMap
Sets the screenAnchor.
setScreenAnchor(int, int) - Method in class mhframework.tilemap.MHTileMap
Sets the screen anchor.
setScreenSpace(int, int, int, int) - Method in class mhframework.tilemap.MHTileMap
Defines the bounds of the screen space.
setSelectedIndex(int) - Method in class mhframework.gui.MHGUICycleControl
 
setSelectedIndex(int) - Method in class mhframework.gui.MHGUINumericCycleControl
 
setSize(int, int) - Method in class mhframework.gui.MHGUIComponent
 
setSize(int, int) - Method in class mhframework.gui.MHGUICycleControl
 
setSpeed(double) - Method in class mhframework.MHActor
 
setText(String) - Method in class mhframework.gui.MHGUIButton
 
setText(String) - Method in class mhframework.gui.MHGUIButtonMenu
Sets the caption text for the menu.
setText(String) - Method in class mhframework.gui.MHGUILabel
 
setText(String) - Method in class mhframework.gui.MHGUIStatusIndicator
Sets the text for the component's caption.
setText(String) - Method in class mhframework.gui.MHGUITextDisplayArea
 
setTextColor(Color) - Method in class mhframework.gui.MHGUIButtonMenu
Sets the text color for the menu's caption.
setTextColor(Color) - Method in class mhframework.gui.MHGUIDialogScreen
 
setTextColor(Color) - Method in class mhframework.gui.MHGUIStatusIndicator
Sets the color of the component's caption.
setTextColor(Color) - Method in class mhframework.gui.MHGUITextDisplayArea
 
setTileWidth(int) - Method in class mhframework.tilemap.MHTileMap
Sets the tile width value .
setTitle(String) - Method in class mhframework.gui.MHGUIDialogScreen
 
setTitleColor(Color) - Method in class mhframework.gui.MHGUIDialogScreen
 
setTitleFont(Font) - Method in class mhframework.gui.MHGUIDialogScreen
 
setType(int) - Method in class mhframework.gui.MHGUIButton
Sets the type.
setValues(Object[]) - Method in class mhframework.gui.MHGUICycleControl
 
setValues(Object[]) - Method in class mhframework.gui.MHGUINumericCycleControl
 
setVerticalSpacing(int) - Method in class mhframework.gui.MHGUIButtonMenu
Sets the distance in pixels between each button on the menu.
setVerticalSpeed(double) - Method in class mhframework.MHActor
Sets the vertical movement speed of this actor.
setVisible(boolean) - Method in class mhframework.gui.MHGUIComponent
 
setWidth(int) - Method in class mhframework.gui.MHGUIComponent
 
setX(int) - Method in class mhframework.gui.MHGUIComponent
 
setX(double) - Method in class mhframework.MHActor
Sets the x.
setX(double) - Method in class mhframework.MHPoint
Sets the x component of this point.
setY(int) - Method in class mhframework.gui.MHGUIComponent
 
setY(double) - Method in class mhframework.MHActor
Sets the y.
setY(double) - Method in class mhframework.MHPoint
Sets the y component of this point.
SEVEN - Static variable in class mhframework.media.MHPlayingCard
 
showBounds(boolean) - Method in class mhframework.gui.MHGUIButton
 
showDialog(JFrame) - Static method in class mhframework.MHAppLauncher
Displays a pre-launch dialog to ask for relevant startup parameters.
showDialog(JFrame, boolean) - Static method in class mhframework.MHAppLauncher
 
showErrorMessage(String) - Method in class mhframework.MHScreen
 
shuffle() - Method in class mhframework.media.MHPlayingCardDeck
 
shutdown() - Method in class mhframework.net.server.MHServerModule
 
SINE - Static variable in class mhframework.MHRotationLookup
 
sine(double) - Static method in class mhframework.MHRotationLookup
 
SIX - Static variable in class mhframework.media.MHPlayingCard
 
size() - Method in class mhframework.media.MHPlayingCardDeck
 
size() - Method in class mhframework.net.MHSerializableClientList
 
size() - Method in class mhframework.net.server.MHClientList
 
socket - Variable in class mhframework.net.server.MHClientInfo
 
state - Variable in class mhframework.gui.MHGUIComponent
The state of the component.
STATUS_CONNECTED - Static variable in class mhframework.net.client.MHClientModule
 
STATUS_DISCONNECTED - Static variable in class mhframework.net.client.MHClientModule
 
steppedOff(MHActor) - Method in interface mhframework.MHInteractive
To be triggered when an actor steps off of an object implementing this interface.
steppedOn(MHActor) - Method in interface mhframework.MHInteractive
To be triggered when an actor steps on an object implementing this interface.
stop() - Method in class mhframework.media.MHMidiPlayer
Stops the sequencer and resets its position to 0.
stop(int) - Method in class mhframework.media.MHSoundManager
Stops the sound specified by soundId if it is currently playing.
stopAllChannels() - Method in class mhframework.media.MHSoundManager
Stops all active channels.
stopChannel(int) - Method in class mhframework.media.MHSoundManager
Stops the sound playing in the channel specified by channelId.
stringWidth(String) - Method in class mhframework.media.MHImageFont
Gets the string width, in pixels, for the specified string.
SUIT_CLUBS - Static variable in class mhframework.media.MHPlayingCard
 
SUIT_DIAMONDS - Static variable in class mhframework.media.MHPlayingCard
 
SUIT_HEARTS - Static variable in class mhframework.media.MHPlayingCard
 
SUIT_SPADES - Static variable in class mhframework.media.MHPlayingCard
 

T

TARGET_FPS - Static variable in class mhframework.MHFrameworkConstants
 
TEN - Static variable in class mhframework.media.MHPlayingCard
 
text - Variable in class mhframework.gui.MHGUILabel
The text displayed on the label.
THREE - Static variable in class mhframework.media.MHPlayingCard
 
TILE_SET_DIRECTORY - Static variable in class mhframework.tilemap.MHTileSetManager
 
tileImage(Graphics2D, Image, int, int) - Static method in class mhframework.MHScreen
 
tileSetId - Variable in class mhframework.tilemap.MHMapFileInfo
 
tileWalk(int, int, int) - Method in class mhframework.tilemap.MHDiamondMap
 
tileWalk(int, int, int) - Method in class mhframework.tilemap.MHHexMap
 
tileWalk(int, int, int) - Method in class mhframework.tilemap.MHIsometricMap
Calculates the next map position to which an actor would walk if it were in position (row, column) and travelled in the direction specified by direction.
tileWalk(MHMapCellAddress, int) - Method in class mhframework.tilemap.MHIsometricMap
Calculates the next map position to which an actor would walk if it were in the position specified by origin and travelled in the direction specified by direction.
tileWalk(int, int, int) - Method in class mhframework.tilemap.MHStaggeredMap
 
TOP - Static variable in class mhframework.media.MHImageFont
 
toString() - Method in class mhframework.media.MHPlayingCard
Returns a string representation of this card.
translate(double, double) - Method in class mhframework.MHPoint
Translates this point in the direction specified by angle to the distance specified by distance.
type - Variable in class mhframework.gui.MHGUIButton
Indicates type of button (See TYPE_ constants)
TYPE_ICON_BUTTON - Static variable in class mhframework.gui.MHGUIButton
Indicates button with icon and text.
TYPE_IMAGE_BUTTON - Static variable in class mhframework.gui.MHGUIButton
Indicates that the entire button is a single image.
TYPE_TEXT_BUTTON - Static variable in class mhframework.gui.MHGUIButton
Indicates button with text only.

U

unload() - Method in class mhframework.gui.MHGUIDialogScreen
 
unload() - Method in class mhframework.MHScreen
Perform termination housekeeping or reset the screen variables when a screen has finished executing.
update(float) - Method in class mhframework.gui.MHGUIStatusIndicator
Updates the value represented by the progress bar.
update(LineEvent) - Method in class mhframework.media.MHSoundManager
Event handler for line events.
updateBounds() - Method in class mhframework.gui.MHGUIButton
 
updateBounds() - Method in class mhframework.gui.MHGUIComponent
 
updateBounds(Graphics2D) - Method in class mhframework.gui.MHGUILabel
Updates the bounds of the label using the layout of the current font

V

VCENTER - Static variable in class mhframework.media.MHImageFont
 
VERSION_STRING - Static variable in class mhframework.MHFrameworkConstants
 

W

WALL_LAYER - Static variable in class mhframework.tilemap.MHMapCell
 
wallFile - Variable in class mhframework.tilemap.MHMapFileInfo
 
width - Variable in class mhframework.gui.MHGUIComponent
Size of the component.
WIDTH - Static variable in class mhframework.tilemap.MHIsoMouseMap
The width of the mouse map matrix.
width - Variable in class mhframework.tilemap.MHMapFileInfo
 
windowCaption - Variable in class mhframework.MHVideoSettings
 
WINDOWED - Static variable in class mhframework.MHAppLauncher
Constant indicating that windowed mode was chosen.
worldSpace - Variable in class mhframework.tilemap.MHTileMap
A rectangle containing all of the coordinates of the entire virtual world.
worldToScreen(Point) - Method in class mhframework.tilemap.MHTileMap
Convert world coordinates to screen coordinates.

_

_btnCancel - Variable in class mhframework.gui.MHGUIDialogScreen
 
_btnOK - Variable in class mhframework.gui.MHGUIDialogScreen
 
_messageFont - Variable in class mhframework.gui.MHGUIDialogScreen
 
_titleFont - Variable in class mhframework.gui.MHGUIDialogScreen
 
_txtInput - Variable in class mhframework.gui.MHGUIInputDialogScreen
 

A B C D E F G H I J K L M N O P Q R S T U V W _