final case class DrawString(x: Float, y: Float, color: Int, channel: Int, message: String) extends DiagramStroke with Product with Serializable
Draw a string message on the tactical map. String messages have their own color designation and will not inherit line properties.
- x
the x-coordinate marking the bottom center of this message's text
- y
the y-coordinate marking the bottom center of this message's text
- color
the color of the message; 0 is gray (default); 1 is red; 2 is green; 3 is blue
- channel
the available "slots" in which to display messages on the map; a maximum of 16 channels/messages (0-15) are available per player; no two messages may inhabit the same channel
- message
the text to display
- Source
- BattleplanMessage.scala
- Alphabetic
- By Inheritance
- DrawString
- Serializable
- Product
- Equals
- DiagramStroke
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DrawString(x: Float, y: Float, color: Int, channel: Int, message: String)
- x
the x-coordinate marking the bottom center of this message's text
- y
the y-coordinate marking the bottom center of this message's text
- color
the color of the message; 0 is gray (default); 1 is red; 2 is green; 3 is blue
- channel
the available "slots" in which to display messages on the map; a maximum of 16 channels/messages (0-15) are available per player; no two messages may inhabit the same channel
- message
the text to display
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val channel: Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val color: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val message: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val x: Float
- val y: Float