Package com.unciv.models
Types
AttackableTile
Link copied to clipboard
class AttackableTile(tileToAttackFrom: TileInfo, tileToAttack: TileInfo, movementLeftAfterMovingToAttackTile: Float)
Content copied to clipboard
CrashReport
Link copied to clipboard
data class CrashReport(gameInfo: String, mods: LinkedHashSet<String>, version: String)
Content copied to clipboard
MultiHashMap
Link copied to clipboard
UncivSound
Link copied to clipboard
Represents an Unciv Sound, either from a predefined set or custom with a specified filename.
UncivSoundConstants
Link copied to clipboard
private enum UncivSoundConstants(value: String) : Enum<UncivSoundConstants>
Content copied to clipboard
UnitAction
Link copied to clipboard
data class UnitAction(type: UnitActionType, title: String, isCurrentAction: Boolean, uncivSound: UncivSound, action: () -> Unit?)
Content copied to clipboard
Unit Actions - class - carries dynamic data and actual execution. Static properties are in UnitActionType. Note this is for the buttons offering actions, not the ongoing action stored with a MapUnit
UnitActionType
Link copied to clipboard
enum UnitActionType(value: String, imageGetter: () -> Actor?, key: KeyCharAndCode, uncivSound: UncivSound) : Enum<UnitActionType>
Content copied to clipboard
Unit Actions - generic enum with static properties