Class

cwinter.codecraft.core.game

Settings

Related Doc: package game

Permalink

final case class Settings(allowMessages: Boolean = true, showSightRadius: Boolean = false, showMissileRadius: Boolean = false, allowEnergyGlobeAnimation: Boolean = true, allowMissileAnimation: Boolean = true, allowModuleAnimation: Boolean = true, allowCollisionAnimation: Boolean = true, recordReplays: Boolean = true, allowFramePrecomputation: Boolean = true) extends Product with Serializable

Aggregates various display settings.

allowMessages

Drones are allowed to display warnings or user generated messages.

showSightRadius

If true, the sight radius for all drones is shown.

showMissileRadius

If true, the missile radius for all drones is shown.

allowEnergyGlobeAnimation

Energy globes move between drones and modules, rather then teleporting instantly.

allowMissileAnimation

Homing missiles have a trail that shows their path.

allowModuleAnimation

Animate modules such as engines.

recordReplays

If set to false, replays are not recorded.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Settings
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Settings(allowMessages: Boolean = true, showSightRadius: Boolean = false, showMissileRadius: Boolean = false, allowEnergyGlobeAnimation: Boolean = true, allowMissileAnimation: Boolean = true, allowModuleAnimation: Boolean = true, allowCollisionAnimation: Boolean = true, recordReplays: Boolean = true, allowFramePrecomputation: Boolean = true)

    Permalink

    allowMessages

    Drones are allowed to display warnings or user generated messages.

    showSightRadius

    If true, the sight radius for all drones is shown.

    showMissileRadius

    If true, the missile radius for all drones is shown.

    allowEnergyGlobeAnimation

    Energy globes move between drones and modules, rather then teleporting instantly.

    allowMissileAnimation

    Homing missiles have a trail that shows their path.

    allowModuleAnimation

    Animate modules such as engines.

    recordReplays

    If set to false, replays are not recorded.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var allowCollisionAnimation: Boolean

    Permalink
  5. var allowEnergyGlobeAnimation: Boolean

    Permalink

    Energy globes move between drones and modules, rather then teleporting instantly.

  6. val allowFramePrecomputation: Boolean

    Permalink
  7. var allowMessages: Boolean

    Permalink

    Drones are allowed to display warnings or user generated messages.

  8. var allowMissileAnimation: Boolean

    Permalink

    Homing missiles have a trail that shows their path.

  9. var allowModuleAnimation: Boolean

    Permalink

    Animate modules such as engines.

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val recordReplays: Boolean

    Permalink

    If set to false, replays are not recorded.

  20. def setAsDefault(): Unit

    Permalink

    This settings object will be used as the default for all new games.

  21. def setBestGraphics(): Unit

    Permalink

    Sets all graphics options to their best setting

  22. def setFastestGraphics(): Unit

    Permalink

    Sets all graphics options to the fastest setting.

  23. var showMissileRadius: Boolean

    Permalink

    If true, the missile radius for all drones is shown.

  24. var showSightRadius: Boolean

    Permalink

    If true, the sight radius for all drones is shown.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped