Index
Alle Klassen und Schnittstellen|Alle Packages|Konstantenfeldwerte
B
- BattleAppState - Klasse in pp.battleship.client.gui
-
Represents the state responsible for managing the battle interface within the Battleship game.
- BattleAppState() - Konstruktor für Klasse pp.battleship.client.gui.BattleAppState
- BattleshipApp - Klasse in pp.battleship.client
-
The main class for the Battleship client application.
- BattleshipAppConfig - Klasse in pp.battleship.client
-
Provides access to the Battleship application configuration.
- BattleshipAppConfig() - Konstruktor für Klasse pp.battleship.client.BattleshipAppConfig
-
Creates a default
BattleshipAppConfig
with predefined values. - BattleshipAppState - Klasse in pp.battleship.client
-
Abstract class representing a state in the Battleship game.
- BattleshipAppState() - Konstruktor für Klasse pp.battleship.client.BattleshipAppState
-
Creates a new BattleshipAppState that is initially disabled.
- BattleshipServer - Klasse in pp.battleship.server
-
Server implementing the visitor pattern as MessageReceiver for ClientMessages
C
- CLICK - Statische Variable in Klasse pp.battleship.client.BattleshipApp
-
Input mapping name for mouse clicks.
- closeApp() - Methode in Klasse pp.battleship.client.BattleshipApp
-
Closes the application, displaying a confirmation dialog if the client is connected to a server.
- connectionAdded(Server, HostedConnection) - Methode in Klasse pp.battleship.server.BattleshipServer
- connectionRemoved(Server, HostedConnection) - Methode in Klasse pp.battleship.server.BattleshipServer
- convertToType(String, Class<?>) - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Converts a string value found in the properties file into an object of the specified type.
- createWaterSplash() - Methode in Klasse pp.battleship.client.gui.ParticleEffectFactory
-
Creates a one-time water splash particle emitter.
D
- disableState() - Methode in Klasse pp.battleship.client.BattleshipAppState
-
This method is called when the state is disabled.
- disableState() - Methode in Klasse pp.battleship.client.gui.BattleAppState
-
Disables the battle state by removing GUI components and unregistering input listeners.
- disableState() - Methode in Klasse pp.battleship.client.gui.EditorAppState
-
Disables the editor state by detaching nodes and removing listeners.
- disableState() - Methode in Klasse pp.battleship.client.gui.SeaAppState
-
Disables the sea and sky state, removing visual elements from the scene and unregistering listeners.
E
- EditorAppState - Klasse in pp.battleship.client.gui
-
EditorState manages the editor mode in the Battleship game, allowing players to place and rotate ships.
- EditorAppState() - Konstruktor für Klasse pp.battleship.client.gui.EditorAppState
- enabledInPreferences() - Statische Methode in Klasse pp.battleship.client.GameSound
-
Checks if sound is enabled in the preferences.
- enabledInPreferences() - Statische Methode in Klasse pp.battleship.client.gui.GameMusic
-
Checks if sound is enabled in the preferences.
- enableState() - Methode in Klasse pp.battleship.client.BattleshipAppState
-
This method is called when the state is enabled.
- enableState() - Methode in Klasse pp.battleship.client.gui.BattleAppState
-
Enables the battle state by initializing, laying out, and adding GUI components.
- enableState() - Methode in Klasse pp.battleship.client.gui.EditorAppState
-
Enables the editor state by attaching necessary nodes and listeners.
- enableState() - Methode in Klasse pp.battleship.client.gui.SeaAppState
-
Enables the sea and sky state, setting up the scene and registering any necessary listeners.
- explosion() - Methode in Klasse pp.battleship.client.GameSound
-
Plays the explosion sound effect.
F
- fullScreen() - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Returns whether the game should start in full-screen mode.
G
- GameMusic - Klasse in pp.battleship.client.gui
- GameMusic() - Konstruktor für Klasse pp.battleship.client.gui.GameMusic
- GameSound - Klasse in pp.battleship.client
-
An application state that plays sounds.
- GameSound() - Konstruktor für Klasse pp.battleship.client.GameSound
- getApp() - Methode in Klasse pp.battleship.client.BattleshipAppState
-
Returns the BattleshipApp instance associated with this BattleshipAppState.
- getConfig() - Methode in Klasse pp.battleship.client.BattleshipApp
-
Returns the current configuration settings for the Battleship client.
- getDraw() - Methode in Klasse pp.battleship.client.BattleshipApp
-
Returns the
Draw
instance used for rendering graphical elements in the game. - getExecutor() - Methode in Klasse pp.battleship.client.BattleshipApp
-
Returns the executor service used for handling multithreaded tasks.
- getGameLogic() - Methode in Klasse pp.battleship.client.BattleshipApp
-
Returns the game logic handler for the client.
- getGameLogic() - Methode in Klasse pp.battleship.client.BattleshipAppState
-
Returns the client game logic handler.
- getResolutionHeight() - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Returns the height of the game view resolution in pixels.
- getResolutionWidth() - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Returns the width of the game view resolution in pixels.
- getShowSettings() - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Returns whether the settings window should be shown for configuring the game.
- getShowStatistics() - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Returns whether the JME statistics window should be shown in the lower left corner of the screen.
- getTopColor() - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Returns the color of the top text during gameplay as a
ColorRGBA
object.
I
- initialize(AppStateManager, Application) - Methode in Klasse pp.battleship.client.BattleshipAppState
-
Initializes the state manager and application.
- initialize(AppStateManager, Application) - Methode in Klasse pp.battleship.client.GameSound
-
Initializes the sound effects for the game.
- initialize(AppStateManager, Application) - Methode in Klasse pp.battleship.client.gui.GameMusic
-
Initializes the sound effects for the game.
- initialize(AppStateManager, Application) - Methode in Klasse pp.battleship.client.gui.SeaAppState
-
Initializes the state by setting up the sky, lights, and other visual components.
M
- main(String[]) - Statische Methode in Klasse pp.battleship.client.BattleshipApp
-
Starts the Battleship application.
- main(String[]) - Statische Methode in Klasse pp.battleship.server.BattleshipServer
-
Starts the Battleships server.
- messageReceived(HostedConnection, Message) - Methode in Klasse pp.battleship.server.BattleshipServer
P
- ParticleEffectFactory - Klasse in pp.battleship.client.gui
-
Factory class responsible for creating particle effects used in the game.
- pp.battleship.client - Package pp.battleship.client
- pp.battleship.client.gui - Package pp.battleship.client.gui
- pp.battleship.server - Package pp.battleship.server
R
- receivedEvent(ClientStateEvent) - Methode in Klasse pp.battleship.client.BattleshipApp
-
Handles client state events to update the game states accordingly.
- receivedEvent(InfoTextEvent) - Methode in Klasse pp.battleship.client.BattleshipApp
-
Updates the informational text in the GUI based on the key received in an
InfoTextEvent
. - receivedEvent(SoundEvent) - Methode in Klasse pp.battleship.client.GameSound
- requestClose(boolean) - Methode in Klasse pp.battleship.client.BattleshipApp
-
Handles a request to close the application.
- run() - Methode in Klasse pp.battleship.server.BattleshipServer
S
- SeaAppState - Klasse in pp.battleship.client.gui
-
Manages the rendering and visual aspects of the sea and sky in the Battleship game.
- SeaAppState() - Konstruktor für Klasse pp.battleship.client.gui.SeaAppState
- send(int, ServerMessage) - Methode in Klasse pp.battleship.server.BattleshipServer
-
Send the specified message to the specified connection.
- setEnabled(boolean) - Methode in Klasse pp.battleship.client.BattleshipAppState
-
Sets the enabled state of the BattleshipAppState.
- setEnabled(boolean) - Methode in Klasse pp.battleship.client.GameSound
-
Sets the enabled state of this AppState.
- setEnabled(boolean) - Methode in Klasse pp.battleship.client.gui.GameMusic
-
Sets the enabled state of this AppState.
- setVolume(float) - Methode in Klasse pp.battleship.client.gui.GameMusic
-
Sets the volume of music
- shipDestroyed() - Methode in Klasse pp.battleship.client.GameSound
-
Plays sound effect when a ship has been destroyed.
- showsDialog() - Methode in Klasse pp.battleship.client.BattleshipAppState
-
Checks if any dialog is currently displayed.
- simpleInitApp() - Methode in Klasse pp.battleship.client.BattleshipApp
-
Initializes the application.
- simpleUpdate(float) - Methode in Klasse pp.battleship.client.BattleshipApp
-
Updates the application state every frame.
- splash() - Methode in Klasse pp.battleship.client.GameSound
-
Plays the splash sound effect.
- stop(boolean) - Methode in Klasse pp.battleship.client.BattleshipApp
-
Stops the application, shutting down the executor service and halting execution.
T
- toggleSound() - Methode in Klasse pp.battleship.client.GameSound
-
Toggles the game sound on or off.
- toggleSound() - Methode in Klasse pp.battleship.client.gui.GameMusic
-
Toggles the game sound on or off.
U
- update() - Methode in Klasse pp.battleship.client.gui.VolumeSlider
-
when triggered it updates the volume to the value set with the slider
- update(float) - Methode in Klasse pp.battleship.client.gui.EditorAppState
-
Updates the editor state, handling cursor movement and enabling buttons.
- update(float) - Methode in Klasse pp.battleship.client.gui.SeaAppState
-
Updates the state each frame, moving the camera to simulate it circling around the map.
- useGammaCorrection() - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Returns whether gamma correction is enabled.
- useRetinaFrameBuffer() - Methode in Klasse pp.battleship.client.BattleshipAppConfig
-
Returns whether full resolution framebuffers should be used on Retina displays.
V
- volumeInPreferences() - Statische Methode in Klasse pp.battleship.client.gui.GameMusic
-
Checks if sound is enabled in the preferences.
- VolumeSlider - Klasse in pp.battleship.client.gui
-
The VolumeSlider class represents the Volume Slider in the Menu.
- VolumeSlider(GameMusic) - Konstruktor für Klasse pp.battleship.client.gui.VolumeSlider
-
Constructs the Volume Slider for the Menu dialog
Alle Klassen und Schnittstellen|Alle Packages|Konstantenfeldwerte