package structure
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
CampaignLevel(levelInfo: LevelInfo, levelStat: CampaignLevelStat = CampaignLevelStat()) extends Product with Serializable
Campaign level
Campaign level
- levelInfo
levelInfo
- levelStat
CampaignLevelStat
-
case class
CampaignLevelStat(defeats: Int = 0, victories: Int = 0) extends Product with Serializable
Statistics of a campaign level
Statistics of a campaign level
- defeats
number of defeats default 0
- victories
number of victories default 0
-
case class
Level(levelInfo: LevelInfo, levelMap: LevelMap, entities: List[CellEntity]) extends Product with Serializable
Level configuration
Level configuration
- levelInfo
LevelInfo
- levelMap
LevelMap
- entities
List[CellEntity]
-
case class
LevelInfo(name: String, victoryRule: VictoryRules.Value, isAvailable: Boolean = true) extends Product with Serializable
Level information
Level information
- name
level name
- victoryRule
level victory rule
- isAvailable
level is available
-
case class
LevelMap(mapShape: MapShape, collisionRule: CollisionRules.Value) extends Product with Serializable
Defines a level map with MapShape and collision with edges rule.
Defines a level map with MapShape and collision with edges rule.
- mapShape
MapShape
- collisionRule
CollisionRules.Value
-
sealed
trait
MapShape extends AnyRef
Define map shape and map center point.
Value Members
-
object
CellType
List of cell types.
-
object
CollisionRules extends Enumeration
Map edges collision rules.
-
object
MapShape
MapShape's companion object
-
object
MapShapeType extends Enumeration
Map shape types.
-
object
VictoryRules extends Enumeration
Level victory rules