Index
All Classes and Interfaces|All Packages
A
- action() - Method in record class org.gaardeon.tatonk.tanks.TankAction
-
Returns the value of the
actionrecord component. - ActionBarView - Class in org.gaardeon.tatonk.view
-
View class responsible for the action bar at the top of the screen Replaces the previous ControlPanelView with a more compact design
- ActionBarView(Game) - Constructor for class org.gaardeon.tatonk.view.ActionBarView
-
Creates a new action bar view
- ActionBarView.ActionHandlers - Interface in org.gaardeon.tatonk.view
-
Action handlers interface - reused from ControlPanelView
- add(Tank) - Method in class org.gaardeon.tatonk.firing.Barrage
- addAiPlayer(AIPlayer) - Method in class org.gaardeon.tatonk.Game
- addConfirmButton(List) - Method in class org.gaardeon.tatonk.view.ActionBarView
-
Adds a confirm button for firing tanks
- addHomeBaseHex(Hex) - Method in class org.gaardeon.tatonk.state.Player
- addPlayer(Player) - Method in class org.gaardeon.tatonk.state.GameState
- addTank(Tank) - Method in class org.gaardeon.tatonk.state.Player
-
Adds a tank to the player's active tanks
- addTankToLocation(Tank, Hex) - Method in class org.gaardeon.tatonk.state.GameState
-
Add a tank to a hex on the board
- addToScore(double) - Method in class org.gaardeon.tatonk.firing.Barrage
- AiActionChoice - Class in org.gaardeon.tatonk.ai.claude
-
Represents a possible action choice for the AI with an associated score.
- AiActionChoice - Class in org.gaardeon.tatonk.ai.claude2
-
Represents a possible action choice for the AI with an associated score.
- AiActionChoice.ActionType - Enum Class in org.gaardeon.tatonk.ai.claude
- AiActionChoice.ActionType - Enum Class in org.gaardeon.tatonk.ai.claude2
- AIPlayer - Interface in org.gaardeon.tatonk.ai
-
Interface defining the contract for an AI player in Tatonk.
- Ais - Enum Class in org.gaardeon.tatonk.ai
- applyDamageResult(DamageResult, Tank) - Method in class org.gaardeon.tatonk.firing.CombatResolver
-
Applies damage result to the target tank
- applyDamageResult(DamageResult, Tank) - Method in interface org.gaardeon.tatonk.firing.FireResolver
B
- Barrage - Class in org.gaardeon.tatonk.firing
- Barrage() - Constructor for class org.gaardeon.tatonk.firing.Barrage
- Barrage(List, double) - Constructor for class org.gaardeon.tatonk.firing.Barrage
- Barrage(Tank) - Constructor for class org.gaardeon.tatonk.firing.Barrage
- BiDirectionalBind<T> - Class in org.gaardeon.tatonk
- BiDirectionalBind(ValueDataBox, ObjectProperty) - Constructor for class org.gaardeon.tatonk.BiDirectionalBind
- Bindings - Class in org.gaardeon.tatonk
- Bindings() - Constructor for class org.gaardeon.tatonk.Bindings
- BlobTerrainGenerator - Class in org.gaardeon.tatonk.map
-
A terrain generator that creates terrain by growing "blobs" from random starting points.
- BlobTerrainGenerator() - Constructor for class org.gaardeon.tatonk.map.BlobTerrainGenerator
-
Creates a blob terrain generator with default values
- BlobTerrainGenerator(double) - Constructor for class org.gaardeon.tatonk.map.BlobTerrainGenerator
- BlobTerrainGenerator(double, double, double, double) - Constructor for class org.gaardeon.tatonk.map.BlobTerrainGenerator
-
Creates a terrain generator that produces terrain by growing blobs outward from random centers
- blocksSpotting() - Method in enum class org.gaardeon.tatonk.map.TerrainType
- build() - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Builds a custom HexGrid with the configured settings
C
- calculateDistanceModifier(int) - Method in class org.gaardeon.tatonk.firing.CombatResolver
-
Calculates power reduction based on distance
- calculateDistanceModifier(int) - Method in interface org.gaardeon.tatonk.firing.FireResolver
- calculateFiringResult(List, Tank) - Method in class org.gaardeon.tatonk.firing.FiringRules
- calculateHexSide(Hex, Hex) - Method in class org.gaardeon.tatonk.map.HexGrid
-
Calculates which hex side the line from hex1 to hex2 crosses Returns a value from 0-5 representing the hex side
- calculateOptimalFiringStrategy(List, Tank, int, int) - Method in class org.gaardeon.tatonk.firing.OptimalFiringStrategyCalculator
-
Optimized version that handles larger numbers of tanks by limiting partition size.
- canAllFire(List, Hex) - Method in class org.gaardeon.tatonk.firing.FiringRules
-
Checks if ALL the specified tanks can fire at the target hex
- canFire(List, Hex) - Method in class org.gaardeon.tatonk.firing.FiringRules
-
Checks if the specified tanks can fire at the target hex
- canFire(Tank, Hex) - Method in class org.gaardeon.tatonk.firing.FiringRules
- canMoveTank(Tank, Hex) - Method in class org.gaardeon.tatonk.moving.MovementRules
- canPlaceTank(Player, Hex, TankType) - Method in class org.gaardeon.tatonk.placing.TankPlacementRules
-
Checks if a tank of the specified type can be placed at the given hex
- canRemoveTank(Tank) - Method in class org.gaardeon.tatonk.placing.TankPlacementRules
- changed(ObservableValue, T, T) - Method in class org.gaardeon.tatonk.BiDirectionalBind
- ChunkingTerrainGenerator - Class in org.gaardeon.tatonk.map
-
A terrain generator that creates terrain in natural-looking chunks using a cellular automata approach
- ChunkingTerrainGenerator(double, double, double, double) - Constructor for class org.gaardeon.tatonk.map.ChunkingTerrainGenerator
-
Creates a terrain generator that produces terrain in natural-looking chunks
- CLAUDE - Enum constant in enum class org.gaardeon.tatonk.ai.Ais
- Claude2 - Class in org.gaardeon.tatonk.ai.claude2
-
A strategic AI implementation that evaluates different types of actions and chooses the best one based on the current game state and battle situation.
- Claude2(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude2.Claude2
- CLAUDE2 - Enum constant in enum class org.gaardeon.tatonk.ai.Ais
- CLEAR - Enum constant in enum class org.gaardeon.tatonk.map.TerrainType
- close() - Method in class org.gaardeon.tatonk.BiDirectionalBind
- CombatResolver - Class in org.gaardeon.tatonk.firing
-
Resolves combat between tanks in Tatonk
- CombatResolver(Game) - Constructor for class org.gaardeon.tatonk.firing.CombatResolver
- CombatSimulator - Interface in org.gaardeon.tatonk.firing
- COMMANDER - Enum constant in enum class org.gaardeon.tatonk.tanks.TankType
- CompactPlayerInfoView - Class in org.gaardeon.tatonk.view
-
View class responsible for displaying player tank information in a compact format Shows tank counts with icons instead of text labels
- CompactPlayerInfoView(Game) - Constructor for class org.gaardeon.tatonk.view.CompactPlayerInfoView
-
Creates a new compact player info view
- compareTo(AiActionChoice) - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- compareTo(AiActionChoice) - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- compareTo(FiringSolution) - Method in record class org.gaardeon.tatonk.firing.FiringSolution
- continueFireTanksAction(List) - Method in class org.gaardeon.tatonk.Game
- createAi(Game, Player) - Method in enum class org.gaardeon.tatonk.ai.Ais
- createFiringChoice(List, Hex, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
-
Creates a firing choice
- createFiringChoice(List, Hex, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
-
Creates a firing choice
- createInventoryPassChoice(TankType, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
-
Creates a pass action choice for an inventory tank
- createInventoryPassChoice(TankType, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
-
Creates a pass action choice for an inventory tank
- createMovementChoice(Tank, Hex, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
-
Creates a tank movement choice
- createMovementChoice(Tank, Hex, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
-
Creates a tank movement choice
- createPassChoice(Tank, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
-
Creates a pass action choice (skipping a tank's action)
- createPassChoice(Tank, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
-
Creates a pass action choice (skipping a tank's action)
- createPlacementChoice(TankType, Hex, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
-
Creates a tank placement choice
- createPlacementChoice(TankType, Hex, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
-
Creates a tank placement choice
- createRemovalChoice(Tank, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
-
Creates a tank removal choice
- createRemovalChoice(Tank, double, String, Supplier) - Static method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
-
Creates a tank removal choice
- createRoad(Hex, Hex) - Method in class org.gaardeon.tatonk.map.HexGrid
-
Creates roads between specified hexes
- currentPlayer - Variable in class org.gaardeon.tatonk.state.GameState
- currentRound - Variable in class org.gaardeon.tatonk.state.GameState
D
- damage() - Method in record class org.gaardeon.tatonk.tanks.TankDamage
-
Returns the value of the
damagerecord component. - damageByTank - Variable in class org.gaardeon.tatonk.state.GameState
- DamageResult - Enum Class in org.gaardeon.tatonk.firing
- devMode - Variable in class org.gaardeon.tatonk.state.GameState
- directions - Static variable in class org.gaardeon.tatonk.map.HexGrid
- dirty() - Method in class org.gaardeon.tatonk.BiDirectionalBind
E
- ENGINE_DAMAGED - Enum constant in enum class org.gaardeon.tatonk.firing.DamageResult
- ENGINE_DESTROYED - Enum constant in enum class org.gaardeon.tatonk.firing.DamageResult
- equals(Object) - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- equals(Object) - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- equals(Object) - Method in record class org.gaardeon.tatonk.firing.FiringSolution
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.gaardeon.tatonk.map.Hex
- equals(Object) - Method in record class org.gaardeon.tatonk.map.HexRecord
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.tatonk.state.RightClickState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.gaardeon.tatonk.tanks.Tank
- equals(Object) - Method in record class org.gaardeon.tatonk.tanks.TankAction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.tatonk.tanks.TankDamage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.tatonk.tanks.TankHex
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.gaardeon.tatonk.tanks.TankRecord
-
Indicates whether some other object is "equal to" this one.
- eraseHomeBase() - Method in class org.gaardeon.tatonk.state.Player
- event() - Method in record class org.gaardeon.tatonk.state.RightClickState
-
Returns the value of the
eventrecord component. - execute() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
-
Executes this action choice by calling the provided executor function
- execute() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
-
Executes this action choice by calling the provided executor function
- executeAttack(List, Hex) - Method in class org.gaardeon.tatonk.firing.FiringRules
-
Executes an attack from the firing tanks on the target
F
- findAllHexesCanMoveTo(Hex, int) - Method in class org.gaardeon.tatonk.moving.MovementRules
-
Finds all hexes that can be reached from a starting hex within the given movement points
- findOptimalFiringStrategy(List, Tank, int) - Method in class org.gaardeon.tatonk.firing.OptimalFiringStrategyFinder
-
Finds the optimal firing strategy by evaluating all possible partitions (groupings) of firing tanks.
- findRoadPath(Hex, Hex, int) - Method in class org.gaardeon.tatonk.moving.MovementRules
-
Finds a path from start to end using A* pathfinding algorithm
- FIRE - Enum constant in enum class org.gaardeon.tatonk.ai.claude.AiActionChoice.ActionType
- FIRE - Enum constant in enum class org.gaardeon.tatonk.ai.claude2.AiActionChoice.ActionType
- FIRE - Enum constant in enum class org.gaardeon.tatonk.tanks.TurnAction
- FIRE_TANKS - Enum constant in enum class org.gaardeon.tatonk.Game.ActionType
- FireResolver - Interface in org.gaardeon.tatonk.firing
- fireTanks(List, Hex) - Method in class org.gaardeon.tatonk.firing.FiringRules
- FiringChoiceAI - Class in org.gaardeon.tatonk.ai.claude
-
AI component that evaluates and scores firing choices
- FiringChoiceAI - Class in org.gaardeon.tatonk.ai.claude2
-
AI component that evaluates and scores firing choices
- FiringChoiceAI(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude.FiringChoiceAI
- FiringChoiceAI(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude2.FiringChoiceAI
- FiringRules - Class in org.gaardeon.tatonk.firing
-
Handles firing rules between tanks
- FiringRules(Game) - Constructor for class org.gaardeon.tatonk.firing.FiringRules
- FiringSolution - Record Class in org.gaardeon.tatonk.firing
-
Represents a potential firing strategy (a list of barrages) and its evaluated score.
- FiringSolution(List, double) - Constructor for record class org.gaardeon.tatonk.firing.FiringSolution
-
Creates an instance of a
FiringSolutionrecord class. - FOREST - Enum constant in enum class org.gaardeon.tatonk.map.TerrainType
- fxState - Variable in class org.gaardeon.tatonk.state.GameState
G
- Game - Class in org.gaardeon.tatonk
-
Main game class that ties everything together
- Game() - Constructor for class org.gaardeon.tatonk.Game
- GAME_OVER - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- Game.ActionType - Enum Class in org.gaardeon.tatonk
- GameBoardPresenter - Class in org.gaardeon.tatonk
-
Presenter for the game board that coordinates all the view components
- GameBoardPresenter(Game) - Constructor for class org.gaardeon.tatonk.GameBoardPresenter
-
Creates a new game board presenter
- GameEvent(GameEventLogger.GameEventType, String) - Constructor for class org.gaardeon.tatonk.GameEventLogger.GameEvent
- GameEventLogger - Class in org.gaardeon.tatonk
-
Records and provides access to game events for UI and state tracking
- GameEventLogger() - Constructor for class org.gaardeon.tatonk.GameEventLogger
- GameEventLogger.GameEvent - Class in org.gaardeon.tatonk
-
Class representing a single game event
- GameEventLogger.GameEventType - Enum Class in org.gaardeon.tatonk
-
Event types for game events
- GameLogView - Class in org.gaardeon.tatonk.view
-
View class responsible for displaying the game log Redesigned for horizontal layout at the bottom of the screen
- GameLogView() - Constructor for class org.gaardeon.tatonk.view.GameLogView
-
Creates a new game log view
- gamePause - Variable in class org.gaardeon.tatonk.state.GameState
- GameState - Class in org.gaardeon.tatonk.state
- GameState() - Constructor for class org.gaardeon.tatonk.state.GameState
- GEMINI - Enum constant in enum class org.gaardeon.tatonk.ai.Ais
- Gemini2 - Class in org.gaardeon.tatonk.ai.gemini2
-
An AI player that evaluates potential actions (Placement, Firing, Movement, Removal) based on a scoring system and chooses the best available action each turn.
- Gemini2(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.gemini2.Gemini2
- GEMINI2 - Enum constant in enum class org.gaardeon.tatonk.ai.Ais
- generatePartitions(List) - Static method in class org.gaardeon.tatonk.firing.OptimalFiringStrategyFinder
-
Generates all unique partitions of the input list of tanks.
- generateRandomRoads(int) - Method in class org.gaardeon.tatonk.map.RoadGenerator
-
Generates random roads on the grid based on selected nodes.
- generateTerrain(int, int) - Method in class org.gaardeon.tatonk.map.BlobTerrainGenerator
- generateTerrain(int, int) - Method in class org.gaardeon.tatonk.map.ChunkingTerrainGenerator
- generateTerrain(int, int) - Method in class org.gaardeon.tatonk.map.RandomTerrainGenerator
- generateTerrain(int, int) - Method in interface org.gaardeon.tatonk.map.TerrainGenerator
-
Generates terrain for a hex at the specified coordinates
- getActionType() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- getActionType() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- getAllHexes() - Method in class org.gaardeon.tatonk.map.HexGrid
- getAllTanks() - Method in class org.gaardeon.tatonk.state.Player
-
Gets all tanks (both on board and in inventory)
- getArmorValue() - Method in enum class org.gaardeon.tatonk.tanks.TankType
- getAttackPower() - Method in class org.gaardeon.tatonk.tanks.Tank
- getAttackPower() - Method in enum class org.gaardeon.tatonk.tanks.TankType
- getAttackRange() - Method in class org.gaardeon.tatonk.tanks.Tank
- getAttackRange() - Method in enum class org.gaardeon.tatonk.tanks.TankType
- getBestFiringChoice() - Method in class org.gaardeon.tatonk.ai.claude.FiringChoiceAI
-
Finds the best firing choice based on strategic considerations
- getBestFiringChoice() - Method in class org.gaardeon.tatonk.ai.claude2.FiringChoiceAI
-
Finds the best firing choice based on strategic considerations
- getBestMovementChoice() - Method in class org.gaardeon.tatonk.ai.claude.MovementChoiceAI
-
Finds the best tank movement choice based on strategic considerations
- getBestMovementChoice() - Method in class org.gaardeon.tatonk.ai.claude2.MovementChoiceAI
-
Finds the best tank movement choice based on strategic considerations
- getBestPlacementChoice() - Method in class org.gaardeon.tatonk.ai.claude.PlacementChoiceAI
-
Finds the best tank placement choice based on strategic considerations
- getBestPlacementChoice() - Method in class org.gaardeon.tatonk.ai.claude2.PlacementChoiceAI
-
Finds the best tank placement choice based on strategic considerations
- getBestRemovalChoice() - Method in class org.gaardeon.tatonk.ai.claude.RemovalChoiceAI
-
Finds the best tank removal choice based on strategic considerations
- getBestRemovalChoice() - Method in class org.gaardeon.tatonk.ai.claude2.RemovalChoiceAI
-
Finds the best tank removal choice based on strategic considerations
- getDescription() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- getDescription() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- getDistance(Hex, Hex) - Static method in class org.gaardeon.tatonk.HexUtils
-
Returns the distance between two hexes
- getDistance(Hex, Hex) - Method in class org.gaardeon.tatonk.map.HexGrid
-
Calculates the distance between two hexes in the grid
- getEventHistory() - Static method in class org.gaardeon.tatonk.GameEventLogger
-
Returns the event history
- getFiringRules() - Method in class org.gaardeon.tatonk.Game
- getFiringTanks() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- getFiringTanks() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- getFiringTanks() - Method in class org.gaardeon.tatonk.firing.Barrage
- getGameBoard() - Method in class org.gaardeon.tatonk.Game
-
Add getter for GameBoardPresenter
- getGameStateValues() - Method in class org.gaardeon.tatonk.Game
- getGrid() - Method in class org.gaardeon.tatonk.Game
- getHex() - Method in class org.gaardeon.tatonk.view.HexPresenter
-
Returns the hex model associated with this presenter
- getHex(int, int) - Method in class org.gaardeon.tatonk.map.HexGrid
- getHexBoardPane() - Method in class org.gaardeon.tatonk.view.HexBoardView
-
Returns the hex board pane
- getHexesInLine(Hex, Hex) - Method in class org.gaardeon.tatonk.map.HexGrid
-
Returns all hexes along a line from start to end
- getHexesSpottedByTank(Tank) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
-
Returns all hexes spotted by a specific tank
- getHexesSpottedFrom(Hex, int) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
- getHexesWithinRange(Hex, int) - Method in class org.gaardeon.tatonk.map.HexGrid
-
Returns all hexes within the specified range from the center hex
- getHexPresenters() - Method in class org.gaardeon.tatonk.GameBoardPresenter
-
Implement a getter for hexPresenters map
- getHexPresenters() - Method in class org.gaardeon.tatonk.view.HexBoardView
-
Returns the hex presenters map
- getHomeBase() - Method in class org.gaardeon.tatonk.state.Player
- getHomeBasePlayer() - Method in class org.gaardeon.tatonk.map.Hex
- getId() - Method in class org.gaardeon.tatonk.state.Player
- getId() - Method in class org.gaardeon.tatonk.tanks.Tank
- getInventoryTanks() - Method in class org.gaardeon.tatonk.state.Player
- getLocation() - Method in class org.gaardeon.tatonk.tanks.Tank
-
Note there is no "setLocation()" method.
- getMessage() - Method in class org.gaardeon.tatonk.GameEventLogger.GameEvent
- getMovementCost() - Method in enum class org.gaardeon.tatonk.map.TerrainType
- getMovementPoints() - Method in class org.gaardeon.tatonk.tanks.Tank
- getMovementPoints() - Method in enum class org.gaardeon.tatonk.tanks.TankType
- getMovementRules() - Method in class org.gaardeon.tatonk.Game
- getName() - Method in class org.gaardeon.tatonk.state.Player
- getNeighborCoordinates(int, int, int) - Method in class org.gaardeon.tatonk.map.HexGrid
-
Returns neighbor coordinates in the specified direction
- getNeighbors(Hex) - Method in class org.gaardeon.tatonk.map.HexGrid
-
Gets the valid neighbors of a hex that are within the grid boundaries.
- getOccupyingTank() - Method in class org.gaardeon.tatonk.map.Hex
- getOtherPlayer(Player) - Method in class org.gaardeon.tatonk.Game
- getOtherPlayer(Player) - Method in class org.gaardeon.tatonk.state.GameState
- getOwner() - Method in class org.gaardeon.tatonk.tanks.Tank
- getPlayer() - Method in interface org.gaardeon.tatonk.ai.AIPlayer
-
Get the Player this AI is controlling
- getPlayer() - Method in class org.gaardeon.tatonk.ai.claude.SmartAiPlayer
- getPlayer() - Method in class org.gaardeon.tatonk.ai.claude2.Claude2
- getPlayer() - Method in class org.gaardeon.tatonk.ai.gemini.ScoringAiPlayer
- getPlayer() - Method in class org.gaardeon.tatonk.ai.gemini2.Gemini2
- getPlayer() - Method in class org.gaardeon.tatonk.ai.RandomAiPlayer
- getPlayer1() - Method in class org.gaardeon.tatonk.Game
- getPlayer2() - Method in class org.gaardeon.tatonk.Game
- getQ() - Method in class org.gaardeon.tatonk.map.Hex
- getR() - Method in class org.gaardeon.tatonk.map.Hex
- getRadius() - Method in class org.gaardeon.tatonk.map.HexGrid
- getRemainingTanksMessage() - Method in class org.gaardeon.tatonk.TankActionTracker
-
Gets a status message describing which tanks can still act
- getS() - Method in class org.gaardeon.tatonk.map.Hex
- getScore() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- getScore() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- getScore() - Method in class org.gaardeon.tatonk.firing.Barrage
- getSimulator() - Method in class org.gaardeon.tatonk.firing.FiringRules
- getSpotRange() - Method in class org.gaardeon.tatonk.tanks.Tank
- getSpotRange() - Method in enum class org.gaardeon.tatonk.tanks.TankType
- getSpottedHexCount(Player) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
-
Debug method to return count of spotted hexes
- getSpottedHexes(Player) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
-
Returns all hexes spotted by the given player
- getSpottingModifier() - Method in enum class org.gaardeon.tatonk.map.TerrainType
- getSpottingSystem() - Method in class org.gaardeon.tatonk.Game
- getTank() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- getTank() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- getTankFromInventory(TankType) - Method in class org.gaardeon.tatonk.state.Player
-
Returns a tank from inventory of the specified type Returns null if no tanks of that type are available
- getTankInventoryCount(TankType) - Method in class org.gaardeon.tatonk.state.Player
-
Gets the number of tanks of a specific type in inventory
- getTankPlacementRules() - Method in class org.gaardeon.tatonk.Game
- getTanks() - Method in class org.gaardeon.tatonk.state.Player
-
Gets all tanks currently on the board
- getTankType() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- getTankType() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- getTargetHex() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- getTargetHex() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- getTerrain() - Method in class org.gaardeon.tatonk.map.Hex
- getTexture(String) - Static method in class org.gaardeon.tatonk.view.TextureLoader
-
Returns the texture with the specified name
- getTimestamp() - Method in class org.gaardeon.tatonk.GameEventLogger.GameEvent
- getTopFiringSet() - Method in record class org.gaardeon.tatonk.firing.FiringSolution
- getTotalInventoryCount() - Method in class org.gaardeon.tatonk.state.Player
-
Gets the total number of tanks in inventory
- getType() - Method in class org.gaardeon.tatonk.GameEventLogger.GameEvent
- getType() - Method in class org.gaardeon.tatonk.tanks.Tank
- getView() - Method in class org.gaardeon.tatonk.GameBoardPresenter
-
Returns the root view component
- getView() - Method in class org.gaardeon.tatonk.view.ActionBarView
-
Returns the view component
- getView() - Method in class org.gaardeon.tatonk.view.CompactPlayerInfoView
-
Returns the view component
- getView() - Method in class org.gaardeon.tatonk.view.GameLogView
-
Returns the view component
- getView() - Method in class org.gaardeon.tatonk.view.HexBoardView
-
Returns the container view
- getView() - Method in class org.gaardeon.tatonk.view.HexPresenter
-
Returns the view component for this hex
- getView() - Method in class org.gaardeon.tatonk.view.PlayerInfoView
-
Returns the view component
- getView() - Method in class org.gaardeon.tatonk.view.StatusBarView
-
Returns the view component
- getWinner() - Method in class org.gaardeon.tatonk.Game
- getZoomLevel() - Method in class org.gaardeon.tatonk.view.HexBoardView
- getZoomLevel() - Method in class org.gaardeon.tatonk.view.Zoom
-
Returns the zoom level
- GUN_DAMAGED - Enum constant in enum class org.gaardeon.tatonk.firing.DamageResult
- GUN_DESTROYED - Enum constant in enum class org.gaardeon.tatonk.firing.DamageResult
H
- handleScrollZoom(ScrollEvent) - Method in class org.gaardeon.tatonk.view.Zoom
-
Handles mouse wheel events for zooming
- hasActedThisRound() - Method in class org.gaardeon.tatonk.tanks.Tank
-
Returns whether this tank has already taken an action in the current round
- hasCommanderTank() - Method in class org.gaardeon.tatonk.state.Player
- hashCode() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- hashCode() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- hashCode() - Method in record class org.gaardeon.tatonk.firing.FiringSolution
-
Returns a hash code value for this object.
- hashCode() - Method in class org.gaardeon.tatonk.map.Hex
- hashCode() - Method in record class org.gaardeon.tatonk.map.HexRecord
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.tatonk.state.RightClickState
-
Returns a hash code value for this object.
- hashCode() - Method in class org.gaardeon.tatonk.tanks.Tank
- hashCode() - Method in record class org.gaardeon.tatonk.tanks.TankAction
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.tatonk.tanks.TankDamage
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.tatonk.tanks.TankHex
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.gaardeon.tatonk.tanks.TankRecord
-
Returns a hash code value for this object.
- hasRoad(int) - Method in class org.gaardeon.tatonk.map.Hex
- hasTankActedThisRound(Tank) - Method in class org.gaardeon.tatonk.state.GameState
- hasTankInInventory(TankType) - Method in class org.gaardeon.tatonk.state.Player
-
Checks if the player has the specified tank type available in inventory
- hasTankOfType(TankType) - Method in class org.gaardeon.tatonk.state.Player
-
Checks if player has a tank of the specified type on the board
- HEAVY - Enum constant in enum class org.gaardeon.tatonk.tanks.TankType
- hex() - Method in record class org.gaardeon.tatonk.tanks.TankHex
-
Returns the value of the
hexrecord component. - Hex - Class in org.gaardeon.tatonk.map
- Hex(GameState, int, int, TerrainType) - Constructor for class org.gaardeon.tatonk.map.Hex
- HexBoardContextMenuPresenter - Class in org.gaardeon.tatonk.view
- HexBoardContextMenuPresenter(Game) - Constructor for class org.gaardeon.tatonk.view.HexBoardContextMenuPresenter
- HexBoardView - Class in org.gaardeon.tatonk.view
-
View class responsible for displaying the hex grid and handling panning and zooming
- HexBoardView(Game) - Constructor for class org.gaardeon.tatonk.view.HexBoardView
-
Creates a new hex board view
- HexBoardView.HexClickHandler - Interface in org.gaardeon.tatonk.view
-
Interface for handling hex clicks
- HexBoardView.HexRightClickHandler - Interface in org.gaardeon.tatonk.view
-
Interface for handling hex right-clicks
- hexes - Variable in class org.gaardeon.tatonk.state.GameState
- HexGrid - Class in org.gaardeon.tatonk.map
- HexGrid(GameState, int) - Constructor for class org.gaardeon.tatonk.map.HexGrid
-
Creates a hexagonal grid with the specified radius from center using random terrain
- HexGrid(GameState, int, double) - Constructor for class org.gaardeon.tatonk.map.HexGrid
-
Creates a hexagonal grid with the specified radius from center using random terrain
- HexGrid(GameState, int, TerrainGenerator) - Constructor for class org.gaardeon.tatonk.map.HexGrid
-
Creates a hexagonal grid with the specified radius from center using a provided terrain generator
- HexGridBuilder - Class in org.gaardeon.tatonk.map
-
Builder style class used to programmatically create a HexGrid with terrain.
- HexGridBuilder(GameState, int) - Constructor for class org.gaardeon.tatonk.map.HexGridBuilder
-
Creates a new HexGridBuilder with the specified radius
- HexPresenter - Class in org.gaardeon.tatonk.view
-
Presenter for a hex cell in the grid
- HexPresenter(Hex, Game) - Constructor for class org.gaardeon.tatonk.view.HexPresenter
-
Creates a new hex presenter
- HexRecord - Record Class in org.gaardeon.tatonk.map
- HexRecord(int, int, int, TerrainType, boolean[]) - Constructor for record class org.gaardeon.tatonk.map.HexRecord
-
Creates an instance of a
HexRecordrecord class. - hexRightClicked() - Method in record class org.gaardeon.tatonk.state.RightClickState
-
Returns the value of the
hexRightClickedrecord component. - hexToPixel(int, int, double) - Static method in class org.gaardeon.tatonk.HexUtils
-
Converts cube coordinates to pixel coordinates
- HexUtils - Class in org.gaardeon.tatonk
-
Provides utility methods for common hex operations
- HexUtils() - Constructor for class org.gaardeon.tatonk.HexUtils
- hide() - Method in class org.gaardeon.tatonk.view.TankInfoPopup
-
Hides the popup
- hoveredTank - Variable in class org.gaardeon.tatonk.state.LowLevelFxState
- HUMAN - Enum constant in enum class org.gaardeon.tatonk.ai.Ais
I
- id() - Method in record class org.gaardeon.tatonk.tanks.TankRecord
-
Returns the value of the
idrecord component. - init() - Method in class org.gaardeon.tatonk.view.KeyBindings
- initialize(int) - Method in class org.gaardeon.tatonk.map.BlobTerrainGenerator
- initialize(int) - Method in class org.gaardeon.tatonk.map.ChunkingTerrainGenerator
- initialize(int) - Method in class org.gaardeon.tatonk.map.RandomTerrainGenerator
- initialize(int) - Method in interface org.gaardeon.tatonk.map.TerrainGenerator
-
Initializes the terrain generator with the grid radius This method is called once before generation starts
- isClosed() - Method in class org.gaardeon.tatonk.BiDirectionalBind
- isDefeated() - Method in class org.gaardeon.tatonk.state.Player
- isDestroyed() - Method in class org.gaardeon.tatonk.tanks.Tank
- isEmpty() - Method in class org.gaardeon.tatonk.firing.Barrage
- isEngineDamaged() - Method in class org.gaardeon.tatonk.tanks.Tank
- isEngineDestroyed() - Method in class org.gaardeon.tatonk.tanks.Tank
- isGunDamaged() - Method in class org.gaardeon.tatonk.tanks.Tank
- isGunDestroyed() - Method in class org.gaardeon.tatonk.tanks.Tank
- isHexFirableFrom(List, Hex, Hex) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
- isHexSpottedByKnownSpotter(Hex, Player) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
-
Checks if a specific hex is spotted by a given player, but only considering tanks that are known to the current player (to avoid revealing hidden tank positions)
- isHexSpottedByKnownSpotter(Hex, Player, Player) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
-
Checks if a specific hex is spotted by a given opponent player, but only considering tanks that are known to the current player (to avoid revealing hidden tank positions)
- isHexSpottedByPlayer(Hex, Player) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
-
Checks if a specific hex is spotted by a given player
- isHexVisibleFrom(List, Hex, Hex) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
-
Checks if there is line of sight between two hexes Implements complex elevation-based line of sight rules
- isHexVisibleFrom(Hex, Hex) - Method in class org.gaardeon.tatonk.spotting.SpottingSystem
- isHighlighted() - Method in class org.gaardeon.tatonk.view.HexPresenter
-
Returns whether this hex is highlighted
- isHomeBase() - Method in class org.gaardeon.tatonk.map.Hex
- isInGrid(int, int) - Method in class org.gaardeon.tatonk.map.HexGrid
-
Checks if the given axial coordinates (q, r) are within the grid boundaries.
- isOccupied() - Method in class org.gaardeon.tatonk.map.Hex
- isSpotted() - Method in class org.gaardeon.tatonk.tanks.Tank
K
- KeyBindings - Class in org.gaardeon.tatonk.view
- KeyBindings(Scene, Game) - Constructor for class org.gaardeon.tatonk.view.KeyBindings
L
- LIGHT - Enum constant in enum class org.gaardeon.tatonk.tanks.TankType
- loadTextures() - Static method in class org.gaardeon.tatonk.view.TextureLoader
-
Preloads all textures needed for the game
- logStateChange(String) - Static method in class org.gaardeon.tatonk.GameEventLogger
-
Records a game state change event
- logTankFiring(Player, List, Hex, boolean) - Static method in class org.gaardeon.tatonk.GameEventLogger
-
Records a tank firing event
- logTankFiring(Player, List, Hex, DamageResult) - Static method in class org.gaardeon.tatonk.GameEventLogger
- logTankMovement(Player, Tank, Hex, Hex) - Static method in class org.gaardeon.tatonk.GameEventLogger
-
Records a tank movement event
- logTankPass(Player, Tank) - Static method in class org.gaardeon.tatonk.GameEventLogger
- logTankPlacement(Player, Tank, Hex) - Static method in class org.gaardeon.tatonk.GameEventLogger
-
Records a tank placement event
- logTankRemoval(Player, Tank) - Static method in class org.gaardeon.tatonk.GameEventLogger
-
Records a tank removal event
- LowLevelFxState - Class in org.gaardeon.tatonk.state
- LowLevelFxState() - Constructor for class org.gaardeon.tatonk.state.LowLevelFxState
M
- main(String[]) - Static method in class org.gaardeon.tatonk.Tatonk
-
Application main method.
- markTankAsActed(Tank, TurnAction) - Method in class org.gaardeon.tatonk.state.GameState
- MEDIUM - Enum constant in enum class org.gaardeon.tatonk.tanks.TankType
- MOUNTAIN - Enum constant in enum class org.gaardeon.tatonk.map.TerrainType
- mouseLocation - Variable in class org.gaardeon.tatonk.state.LowLevelFxState
- MOVE - Enum constant in enum class org.gaardeon.tatonk.ai.claude.AiActionChoice.ActionType
- MOVE - Enum constant in enum class org.gaardeon.tatonk.ai.claude2.AiActionChoice.ActionType
- MOVE - Enum constant in enum class org.gaardeon.tatonk.tanks.TurnAction
- MOVE_TANK - Enum constant in enum class org.gaardeon.tatonk.Game.ActionType
- MovementChoiceAI - Class in org.gaardeon.tatonk.ai.claude
-
AI component that evaluates and scores tank movement choices
- MovementChoiceAI - Class in org.gaardeon.tatonk.ai.claude2
-
AI component that evaluates and scores tank movement choices
- MovementChoiceAI(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude.MovementChoiceAI
- MovementChoiceAI(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude2.MovementChoiceAI
- MovementRules - Class in org.gaardeon.tatonk.moving
-
Handles tank movement rules
- MovementRules(HexGrid, SpottingSystem, GameState) - Constructor for class org.gaardeon.tatonk.moving.MovementRules
- moveTank(Tank, Hex) - Method in class org.gaardeon.tatonk.moving.MovementRules
N
- NO_EFFECT - Enum constant in enum class org.gaardeon.tatonk.firing.DamageResult
- notifyActed() - Method in class org.gaardeon.tatonk.tanks.Tank
O
- onConfirmFiringSelection(List) - Method in interface org.gaardeon.tatonk.view.ActionBarView.ActionHandlers
- onHexClick(Hex) - Method in interface org.gaardeon.tatonk.view.HexBoardView.HexClickHandler
- onHexRightClick(MouseEvent, Hex) - Method in interface org.gaardeon.tatonk.view.HexBoardView.HexRightClickHandler
- onPassInventoryTank() - Method in interface org.gaardeon.tatonk.view.ActionBarView.ActionHandlers
- onResetView() - Method in interface org.gaardeon.tatonk.view.ActionBarView.ActionHandlers
- onResetZoom() - Method in interface org.gaardeon.tatonk.view.ActionBarView.ActionHandlers
- onToggleVisibility() - Method in interface org.gaardeon.tatonk.view.ActionBarView.ActionHandlers
- onZoomIn() - Method in interface org.gaardeon.tatonk.view.ActionBarView.ActionHandlers
- onZoomOut() - Method in interface org.gaardeon.tatonk.view.ActionBarView.ActionHandlers
- OptimalFiringStrategyCalculator - Class in org.gaardeon.tatonk.firing
- OptimalFiringStrategyCalculator(CombatSimulator) - Constructor for class org.gaardeon.tatonk.firing.OptimalFiringStrategyCalculator
- OptimalFiringStrategyFinder - Class in org.gaardeon.tatonk.firing
- OptimalFiringStrategyFinder(CombatSimulator) - Constructor for class org.gaardeon.tatonk.firing.OptimalFiringStrategyFinder
- org.gaardeon.tatonk - module org.gaardeon.tatonk
- org.gaardeon.tatonk - package org.gaardeon.tatonk
-
Tatonk Application Architecture Note The Tatonk application implements a functional reactive programming pattern through the DataBox framework that fundamentally changes how UI components interact with application state.
- org.gaardeon.tatonk.ai - package org.gaardeon.tatonk.ai
- org.gaardeon.tatonk.ai.claude - package org.gaardeon.tatonk.ai.claude
- org.gaardeon.tatonk.ai.claude2 - package org.gaardeon.tatonk.ai.claude2
- org.gaardeon.tatonk.ai.gemini - package org.gaardeon.tatonk.ai.gemini
- org.gaardeon.tatonk.ai.gemini2 - package org.gaardeon.tatonk.ai.gemini2
- org.gaardeon.tatonk.firing - package org.gaardeon.tatonk.firing
- org.gaardeon.tatonk.map - package org.gaardeon.tatonk.map
- org.gaardeon.tatonk.moving - package org.gaardeon.tatonk.moving
- org.gaardeon.tatonk.placing - package org.gaardeon.tatonk.placing
- org.gaardeon.tatonk.spotting - package org.gaardeon.tatonk.spotting
- org.gaardeon.tatonk.state - package org.gaardeon.tatonk.state
- org.gaardeon.tatonk.tanks - package org.gaardeon.tatonk.tanks
- org.gaardeon.tatonk.view - package org.gaardeon.tatonk.view
-
View classes for the Tatonk game.
- owner() - Method in record class org.gaardeon.tatonk.tanks.TankRecord
-
Returns the value of the
ownerrecord component.
P
- PASS - Enum constant in enum class org.gaardeon.tatonk.ai.claude.AiActionChoice.ActionType
- PASS - Enum constant in enum class org.gaardeon.tatonk.ai.claude2.AiActionChoice.ActionType
- PASS - Enum constant in enum class org.gaardeon.tatonk.tanks.TurnAction
- passBoardTank(Tank) - Method in class org.gaardeon.tatonk.placing.TankPlacementRules
-
Passes a tank's action for the current round
- passInventoryTank(TankType) - Method in class org.gaardeon.tatonk.placing.TankPlacementRules
-
Passes an action for a tank of the specified type in the player's inventory
- performTurnAction() - Method in interface org.gaardeon.tatonk.ai.AIPlayer
-
Determines and executes the next action for the given player based on the current game state.
- performTurnAction() - Method in class org.gaardeon.tatonk.ai.claude.SmartAiPlayer
- performTurnAction() - Method in class org.gaardeon.tatonk.ai.claude2.Claude2
- performTurnAction() - Method in class org.gaardeon.tatonk.ai.gemini.ScoringAiPlayer
- performTurnAction() - Method in class org.gaardeon.tatonk.ai.gemini2.Gemini2
-
Contains the core logic for deciding and performing the AI's action.
- performTurnAction() - Method in class org.gaardeon.tatonk.ai.RandomAiPlayer
- pixelToHex(double, double, double) - Static method in class org.gaardeon.tatonk.HexUtils
-
Converts pixel coordinates to cube coordinates (approximation)
- PLACE - Enum constant in enum class org.gaardeon.tatonk.ai.claude.AiActionChoice.ActionType
- PLACE - Enum constant in enum class org.gaardeon.tatonk.ai.claude2.AiActionChoice.ActionType
- PLACE - Enum constant in enum class org.gaardeon.tatonk.tanks.TurnAction
- PLACE_TANK - Enum constant in enum class org.gaardeon.tatonk.Game.ActionType
- placeHomeBases() - Method in class org.gaardeon.tatonk.map.HexGrid
- PlacementChoiceAI - Class in org.gaardeon.tatonk.ai.claude
-
AI component that evaluates and scores tank placement choices
- PlacementChoiceAI - Class in org.gaardeon.tatonk.ai.claude2
-
AI component that evaluates and scores tank placement choices
- PlacementChoiceAI(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude.PlacementChoiceAI
- PlacementChoiceAI(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude2.PlacementChoiceAI
- placeTank(Hex, TankType) - Method in class org.gaardeon.tatonk.placing.TankPlacementRules
- Player - Class in org.gaardeon.tatonk.state
-
Represents a player in the game
- Player(GameState, SpottingSystem, int, String) - Constructor for class org.gaardeon.tatonk.state.Player
- PlayerInfoView - Class in org.gaardeon.tatonk.view
-
View class responsible for displaying player information
- PlayerInfoView(Player) - Constructor for class org.gaardeon.tatonk.view.PlayerInfoView
-
Creates a new player info view
- players - Variable in class org.gaardeon.tatonk.state.GameState
- playersAllowedToSee - Variable in class org.gaardeon.tatonk.state.GameState
Q
- q() - Method in record class org.gaardeon.tatonk.map.HexRecord
-
Returns the value of the
qrecord component.
R
- r() - Method in record class org.gaardeon.tatonk.map.HexRecord
-
Returns the value of the
rrecord component. - RANDOM - Enum constant in enum class org.gaardeon.tatonk.ai.Ais
- RandomAiPlayer - Class in org.gaardeon.tatonk.ai
-
A simple AI implementation that prioritizes making any legal move.
- RandomAiPlayer(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.RandomAiPlayer
- RandomTerrainGenerator - Class in org.gaardeon.tatonk.map
-
Simple terrain generator that creates completely random terrain
- RandomTerrainGenerator() - Constructor for class org.gaardeon.tatonk.map.RandomTerrainGenerator
- RemovalChoiceAI - Class in org.gaardeon.tatonk.ai.claude
-
AI component that evaluates and scores tank removal choices
- RemovalChoiceAI - Class in org.gaardeon.tatonk.ai.claude2
-
AI component that evaluates and scores tank removal choices
- RemovalChoiceAI(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude.RemovalChoiceAI
- RemovalChoiceAI(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude2.RemovalChoiceAI
- remove(int) - Method in class org.gaardeon.tatonk.firing.Barrage
- REMOVE - Enum constant in enum class org.gaardeon.tatonk.ai.claude.AiActionChoice.ActionType
- REMOVE - Enum constant in enum class org.gaardeon.tatonk.ai.claude2.AiActionChoice.ActionType
- REMOVE - Enum constant in enum class org.gaardeon.tatonk.tanks.TurnAction
- REMOVE_TANK - Enum constant in enum class org.gaardeon.tatonk.Game.ActionType
- removeAndDestroy() - Method in class org.gaardeon.tatonk.tanks.Tank
- removeConfirmButton() - Method in class org.gaardeon.tatonk.view.ActionBarView
-
Removes the confirm button if it exists
- removeDestroyedTank(Tank) - Method in class org.gaardeon.tatonk.state.Player
- removeTank(Tank) - Method in class org.gaardeon.tatonk.placing.TankPlacementRules
- removeTank(Tank) - Method in class org.gaardeon.tatonk.state.Player
-
Removes a tank from the player's active tanks and returns it to inventory
- removeTankFromLocation(Tank) - Method in class org.gaardeon.tatonk.state.GameState
-
Remove a tank from its current location
- resetView() - Method in class org.gaardeon.tatonk.view.HexBoardView
-
Resets the view to center position and default zoom
- resetZoom() - Method in class org.gaardeon.tatonk.view.HexBoardView
-
Resets the zoom level to 1.0
- resolveFiring(List, Tank) - Method in class org.gaardeon.tatonk.firing.CombatResolver
-
Calculates and returns the result of a group of tanks firing on a target
- resolveFiring(List, Tank) - Method in interface org.gaardeon.tatonk.firing.FireResolver
- rightClick - Variable in class org.gaardeon.tatonk.state.LowLevelFxState
- RightClickState - Record Class in org.gaardeon.tatonk.state
- RightClickState(Hex, long, MouseEvent) - Constructor for record class org.gaardeon.tatonk.state.RightClickState
-
Creates an instance of a
RightClickStaterecord class. - RoadGenerator - Class in org.gaardeon.tatonk.map
-
Utility class for generating roads on the hex grid using a node-based approach.
- RoadGenerator(HexGrid, List) - Constructor for class org.gaardeon.tatonk.map.RoadGenerator
-
Creates a new road generator for the specified grid.
- roads() - Method in record class org.gaardeon.tatonk.map.HexRecord
-
Returns the value of the
roadsrecord component. - roundComplete - Variable in class org.gaardeon.tatonk.state.GameState
S
- s() - Method in record class org.gaardeon.tatonk.map.HexRecord
-
Returns the value of the
srecord component. - score() - Method in record class org.gaardeon.tatonk.firing.FiringSolution
-
Returns the value of the
scorerecord component. - ScoringAiPlayer - Class in org.gaardeon.tatonk.ai.gemini
-
An AI player that evaluates potential actions (Placement, Firing, Movement, Removal) based on a scoring system and chooses the best available action each turn.
- ScoringAiPlayer(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.gemini.ScoringAiPlayer
- selectedTanks - Variable in class org.gaardeon.tatonk.state.TatonkSelectionsModel
- selectedTankType - Variable in class org.gaardeon.tatonk.state.TatonkSelectionsModel
- selectedTarget - Variable in class org.gaardeon.tatonk.state.TatonkSelectionsModel
- SELECTING_FIRE_TARGET - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- SELECTING_FIRING_TANKS - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- SELECTING_INVENTORY_TANK_TYPE_TO_PASS - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- SELECTING_MOVE_DESTINATION - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- SELECTING_PLACEMENT_LOCATION - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- SELECTING_TANK_TO_MOVE - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- SELECTING_TANK_TO_PASS - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- SELECTING_TANK_TO_REMOVE - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- selections - Variable in class org.gaardeon.tatonk.state.GameState
- setActionHandlers(ActionBarView.ActionHandlers) - Method in class org.gaardeon.tatonk.view.ActionBarView
-
Sets the action handlers
- setGameBoard(GameBoardPresenter) - Method in class org.gaardeon.tatonk.Game
- setHexClickHandler(HexBoardView.HexClickHandler) - Method in class org.gaardeon.tatonk.view.HexBoardView
-
Sets the hex click and right-click handlers
- setHomeBasePlayer(Player) - Method in class org.gaardeon.tatonk.map.Hex
- setOccupyingTank(Tank) - Method in class org.gaardeon.tatonk.map.Hex
- setOnHexClicked(Runnable) - Method in class org.gaardeon.tatonk.view.HexPresenter
-
Adds a click handler to the hex
- setRoad(int, boolean) - Method in class org.gaardeon.tatonk.map.Hex
- setScore(double) - Method in class org.gaardeon.tatonk.firing.Barrage
- show(Hex, double, double, Node) - Method in class org.gaardeon.tatonk.view.TankInfoPopup
-
Shows the info popup for the specified tank
- showAlert(String, String) - Method in class org.gaardeon.tatonk.firing.FiringRules
-
Shows an alert dialog with the specified title and message
- showAlert(String, String) - Method in class org.gaardeon.tatonk.Game
-
Shows an alert dialog with the specified title and message
- showAlert(String, String) - Method in class org.gaardeon.tatonk.GameBoardPresenter
-
Shows an alert dialog with the specified title and message
- showAlert(String, String) - Method in class org.gaardeon.tatonk.view.ActionBarView
-
Shows an alert dialog with the specified title and message
- showAlert(String, String) - Method in class org.gaardeon.tatonk.view.KeyBindings
-
Shows an alert dialog with the specified title and message
- showGameOverDialog() - Method in class org.gaardeon.tatonk.view.ActionBarView
-
Shows a game over dialog
- showSpottedHexes - Variable in class org.gaardeon.tatonk.state.GameState
- showSpottedHexesUserChoice - Variable in class org.gaardeon.tatonk.state.GameState
- simulateCombat(List, Tank, int) - Method in interface org.gaardeon.tatonk.firing.CombatSimulator
-
Run simulations of firing tanks at a target to gather the results as a set of probabilities for each possible result.
- size() - Method in class org.gaardeon.tatonk.firing.Barrage
- SmartAiPlayer - Class in org.gaardeon.tatonk.ai.claude
-
A strategic AI implementation that evaluates different types of actions and chooses the best one based on the current game state.
- SmartAiPlayer(Game, Player) - Constructor for class org.gaardeon.tatonk.ai.claude.SmartAiPlayer
- SpottingSystem - Class in org.gaardeon.tatonk.spotting
-
Handles the spotting system - determining which hexes are visible to each player
- SpottingSystem(GameState, HexGrid) - Constructor for class org.gaardeon.tatonk.spotting.SpottingSystem
- start() - Method in interface org.gaardeon.tatonk.ai.AIPlayer
- start() - Method in class org.gaardeon.tatonk.ai.claude.SmartAiPlayer
- start() - Method in class org.gaardeon.tatonk.ai.claude2.Claude2
- start() - Method in class org.gaardeon.tatonk.ai.gemini.ScoringAiPlayer
- start() - Method in class org.gaardeon.tatonk.ai.gemini2.Gemini2
- start() - Method in class org.gaardeon.tatonk.ai.RandomAiPlayer
- start(Stage) - Method in class org.gaardeon.tatonk.Tatonk
- startNewRound() - Method in class org.gaardeon.tatonk.state.GameState
- startWithAis() - Method in class org.gaardeon.tatonk.Game
- STATE_CHANGE - Enum constant in enum class org.gaardeon.tatonk.GameEventLogger.GameEventType
- StatusBarView - Class in org.gaardeon.tatonk.view
-
View class responsible for displaying the status bar
- StatusBarView(Game) - Constructor for class org.gaardeon.tatonk.view.StatusBarView
-
Creates a new status bar view
- strategy() - Method in record class org.gaardeon.tatonk.firing.FiringSolution
-
Returns the value of the
strategyrecord component. - switchTurn() - Method in class org.gaardeon.tatonk.state.GameState
T
- tank() - Method in record class org.gaardeon.tatonk.tanks.TankAction
-
Returns the value of the
tankrecord component. - tank() - Method in record class org.gaardeon.tatonk.tanks.TankDamage
-
Returns the value of the
tankrecord component. - tank() - Method in record class org.gaardeon.tatonk.tanks.TankHex
-
Returns the value of the
tankrecord component. - Tank - Class in org.gaardeon.tatonk.tanks
-
Base class for all tanks in the game
- Tank(GameState, SpottingSystem, Player, TankType) - Constructor for class org.gaardeon.tatonk.tanks.Tank
- TANK_DESTROYED - Enum constant in enum class org.gaardeon.tatonk.firing.DamageResult
- TANK_DESTROYER - Enum constant in enum class org.gaardeon.tatonk.tanks.TankType
- TANK_FIRED - Enum constant in enum class org.gaardeon.tatonk.GameEventLogger.GameEventType
- TANK_MOVED - Enum constant in enum class org.gaardeon.tatonk.GameEventLogger.GameEventType
- TANK_PASSED - Enum constant in enum class org.gaardeon.tatonk.GameEventLogger.GameEventType
- TANK_PLACED - Enum constant in enum class org.gaardeon.tatonk.GameEventLogger.GameEventType
- TANK_REMOVED - Enum constant in enum class org.gaardeon.tatonk.GameEventLogger.GameEventType
- TankAction - Record Class in org.gaardeon.tatonk.tanks
-
Record that associates a tank with the current round it took an action in
- TankAction(Tank, TurnAction) - Constructor for record class org.gaardeon.tatonk.tanks.TankAction
-
Creates an instance of a
TankActionrecord class. - tankActionChosen() - Method in class org.gaardeon.tatonk.state.GameState
- tankActions - Variable in class org.gaardeon.tatonk.state.GameState
- TankActionTracker - Class in org.gaardeon.tatonk
-
Helper class to manage tank actions within a player's round
- TankActionTracker(GameState) - Constructor for class org.gaardeon.tatonk.TankActionTracker
- TankDamage - Record Class in org.gaardeon.tatonk.tanks
- TankDamage(Tank, DamageResult) - Constructor for record class org.gaardeon.tatonk.tanks.TankDamage
-
Creates an instance of a
TankDamagerecord class. - tankDamages - Variable in class org.gaardeon.tatonk.state.GameState
- TankHex - Record Class in org.gaardeon.tatonk.tanks
- TankHex(Tank, Hex) - Constructor for record class org.gaardeon.tatonk.tanks.TankHex
-
Creates an instance of a
TankHexrecord class. - TankInfoPopup - Class in org.gaardeon.tatonk.view
-
Popup that displays tank information when a user right-clicks on a tank
- TankInfoPopup(Game) - Constructor for class org.gaardeon.tatonk.view.TankInfoPopup
- tankLocations - Variable in class org.gaardeon.tatonk.state.GameState
- TankPlacementRules - Class in org.gaardeon.tatonk.placing
-
Handles tank placement rules
- TankPlacementRules(SpottingSystem, HexGrid, GameState) - Constructor for class org.gaardeon.tatonk.placing.TankPlacementRules
- TankRecord - Record Class in org.gaardeon.tatonk.tanks
- TankRecord(ID, TankType, Player) - Constructor for record class org.gaardeon.tatonk.tanks.TankRecord
-
Creates an instance of a
TankRecordrecord class. - tanksByHex - Variable in class org.gaardeon.tatonk.state.GameState
- tanksLeftToAct - Variable in class org.gaardeon.tatonk.state.GameState
- TankType - Enum Class in org.gaardeon.tatonk.tanks
-
Enum representing different types of tanks with their capabilities
- TankVisualization - Class in org.gaardeon.tatonk.view
- Tatonk - Class in org.gaardeon.tatonk
-
Main application class for the Tatonk game.
- Tatonk() - Constructor for class org.gaardeon.tatonk.Tatonk
- TatonkSelectionsModel - Class in org.gaardeon.tatonk.state
- TatonkSelectionsModel() - Constructor for class org.gaardeon.tatonk.state.TatonkSelectionsModel
- terrain() - Method in record class org.gaardeon.tatonk.map.HexRecord
-
Returns the value of the
terrainrecord component. - TerrainGenerator - Interface in org.gaardeon.tatonk.map
-
Interface for terrain generation strategies
- TerrainType - Enum Class in org.gaardeon.tatonk.map
-
Defines different types of terrain with their properties
- TextureLoader - Class in org.gaardeon.tatonk.view
-
Manages loading and retrieving textures for the game
- TextureLoader() - Constructor for class org.gaardeon.tatonk.view.TextureLoader
- timeOfClick() - Method in record class org.gaardeon.tatonk.state.RightClickState
-
Returns the value of the
timeOfClickrecord component. - toCoordString() - Method in class org.gaardeon.tatonk.map.Hex
- toDebugString() - Method in class org.gaardeon.tatonk.tanks.Tank
- toString() - Method in class org.gaardeon.tatonk.ai.claude.AiActionChoice
- toString() - Method in class org.gaardeon.tatonk.ai.claude2.AiActionChoice
- toString() - Method in class org.gaardeon.tatonk.firing.Barrage
- toString() - Method in record class org.gaardeon.tatonk.firing.FiringSolution
-
Returns a string representation of this record class.
- toString() - Method in class org.gaardeon.tatonk.GameEventLogger.GameEvent
- toString() - Method in class org.gaardeon.tatonk.map.Hex
- toString() - Method in record class org.gaardeon.tatonk.map.HexRecord
-
Returns a string representation of this record class.
- toString() - Method in class org.gaardeon.tatonk.state.Player
- toString() - Method in record class org.gaardeon.tatonk.state.RightClickState
-
Returns a string representation of this record class.
- toString() - Method in class org.gaardeon.tatonk.tanks.Tank
- toString() - Method in record class org.gaardeon.tatonk.tanks.TankAction
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.tatonk.tanks.TankDamage
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.tatonk.tanks.TankHex
-
Returns a string representation of this record class.
- toString() - Method in record class org.gaardeon.tatonk.tanks.TankRecord
-
Returns a string representation of this record class.
- TURN_ACTION_COMPLETE - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- TurnAction - Enum Class in org.gaardeon.tatonk.tanks
- type() - Method in record class org.gaardeon.tatonk.tanks.TankRecord
-
Returns the value of the
typerecord component.
U
- UI_Action_State - Enum Class in org.gaardeon.tatonk.state
-
Enum representing the different UI action states
- uiActionState - Variable in class org.gaardeon.tatonk.state.GameState
- updateBorderLines(Map) - Method in class org.gaardeon.tatonk.view.HexPresenter
-
Updates the border line visibility based on neighboring hex highlight states Should be called after all hexes have their highlighted property set
- updateZoomDisplay(double) - Method in class org.gaardeon.tatonk.view.StatusBarView
-
Updates the zoom level display
V
- validateTankCanAct(Tank) - Method in class org.gaardeon.tatonk.TankActionTracker
-
Checks if a tank can take an action and shows a notification if not
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.ai.Ais
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.ai.claude.AiActionChoice.ActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.ai.claude2.AiActionChoice.ActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.firing.DamageResult
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.Game.ActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.GameEventLogger.GameEventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.map.TerrainType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.state.UI_Action_State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.tanks.TankType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.gaardeon.tatonk.tanks.TurnAction
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.gaardeon.tatonk.ai.Ais
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.ai.claude.AiActionChoice.ActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.ai.claude2.AiActionChoice.ActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.firing.DamageResult
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.Game.ActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.GameEventLogger.GameEventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.map.TerrainType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.state.UI_Action_State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.tanks.TankType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.gaardeon.tatonk.tanks.TurnAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WAITING_FOR_ACTION - Enum constant in enum class org.gaardeon.tatonk.state.UI_Action_State
- WATER - Enum constant in enum class org.gaardeon.tatonk.map.TerrainType
- withElevationTestPattern(int, int, int, int, int) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Creates a test pattern for elevation-based line of sight testing
- withForestTestPattern(int, int, int[], int, int) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Creates a forest test pattern for spotting range testing
- withHomeBase(Player, int, int) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Sets hexes as home base for a player
- withPlayer(Player) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Adds a player to use in the grid
- withRoad(int, int, int, int) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Adds a road between two adjacent hexes
- withTank(Tank, int, int) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Places a tank on the map at the given coordinates
- withTerrain(int, int, TerrainType) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Sets the terrain type for a specific hex
- withTerrainArea(int, int, int, TerrainType) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Sets the terrain for a contiguous area of hexes
- withTerrainInDirection(int, int, int, int, TerrainType) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Creates a helper method for testing that creates a straight line of terrain
- withTerrainLine(int, int, int, int, TerrainType) - Method in class org.gaardeon.tatonk.map.HexGridBuilder
-
Creates a line of terrain between two points
Z
- Zoom - Class in org.gaardeon.tatonk.view
- zoomIn() - Method in class org.gaardeon.tatonk.view.HexBoardView
- zoomIn() - Method in class org.gaardeon.tatonk.view.Zoom
- zoomOut() - Method in class org.gaardeon.tatonk.view.HexBoardView
- zoomOut() - Method in class org.gaardeon.tatonk.view.Zoom
All Classes and Interfaces|All Packages