Packages

  • package root
    Definition Classes
    root
  • package ostrat

    This is the root package for the Openstrat project.

    This is the root package for the Openstrat project. The top of this package contains, 32 bit Int based Colours, the Multiple type class, a show and persistence library using RCON (Name may change), Rich Compact Object Notation, array based compound value collections of same length elements, an Either based errors framework and general utilities.

    Definition Classes
    root
  • package pCloseOrder
    Definition Classes
    ostrat
  • BScen
  • BattleGui
  • British
  • Company
  • French
  • Nap1

case class BattleGui(canv: CanvasPlatform, scen: BScen) extends CanvasNoPanels with Product with Serializable

Beginnings of a game to explore close formation battles.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BattleGui
  2. Serializable
  3. Product
  4. Equals
  5. CanvasNoPanels
  6. PanelLike
  7. RectCenlign
  8. Rectangularlign
  9. AlignedElem
  10. CanvasUser
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BattleGui(canv: CanvasPlatform, scen: BScen)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val actives: Arr[GraphicActive]

    These are currently stored in reverse.

    These are currently stored in reverse. I think this would be better in an Array

    Definition Classes
    PanelLike
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val backColour: Colour
    Definition Classes
    PanelLike
  7. def bottom: Double
    Definition Classes
    RectCenlign
  8. final def bottomLeft: Vec2
    Definition Classes
    RectangularlignAlignedElem
    Annotations
    @inline()
  9. def bottomLeftDelta: Vec2
    Definition Classes
    AlignedElem
  10. final def bottomRight: Vec2
    Definition Classes
    RectangularlignAlignedElem
    Annotations
    @inline()
  11. def bottomRightDelta: Vec2
    Definition Classes
    AlignedElem
  12. val canv: CanvasPlatform
    Definition Classes
    BattleGuiCanvasUser
  13. val canvObjs: Arr[GraphicElem]
    Definition Classes
    PanelLike
  14. def cen: Vec2
    Definition Classes
    RectCenlignAlignedElem
  15. def cenLeft: Vec2
    Definition Classes
    RectCenlign
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  17. def crossHairs(lineWidth: Double = 1, lineColour: Colour = Black): LinesDraw
    Definition Classes
    RectCenlign
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val fMouseDragged: (Vec2, MouseButton, AnyRefs) => Unit
    Definition Classes
    PanelLike
  20. val fMouseMoved: (Vec2, MouseButton, AnyRefs) => Unit
    Definition Classes
    PanelLike
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def gridLines(spacing: Double = 100, colour: Colour = Black, lineWidth: Double = 1.0): LinesDraw

    Not sure why spacing has got a minus sign

    Not sure why spacing has got a minus sign

    Definition Classes
    RectCenlign
  23. def gridLines2Colours(spacing: Double = 100, cenColour: Colour = Colour.DarkRed, otherColour: Colour = Black, lineWidth: Double = 1.0): Arr[LinesDraw]

    Badly named I think, not sure why spacing has got a minus sign

    Badly named I think, not sure why spacing has got a minus sign

    Definition Classes
    RectCenlign
  24. def height: Double
    Definition Classes
    CanvasNoPanelsRectangularlign
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def left: Double
    Definition Classes
    RectCenlign
  27. def lunits: Arr[Company]
  28. val mouseDown: (Vec2, MouseButton, AnyRefs) => Unit

    This method name is inconsistent with mousedown on the canvas class

    This method name is inconsistent with mousedown on the canvas class

    Definition Classes
    PanelLike
  29. val mouseUp: (MouseButton, List[Any], Vec2) => Unit

    This method name is inconsistent with mouseup on the canvas class

    This method name is inconsistent with mouseup on the canvas class

    Definition Classes
    PanelLike
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def paintObjs(movedObjs: Arr[GraphicElem]): Arr[GraphicActive]

    This reverses the order of the GraphicActive List.

    This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.

    Definition Classes
    CanvasUser
  34. def panelCen: Vec2
    Definition Classes
    RectCenlign
  35. def productElementNames: Iterator[String]
    Definition Classes
    Product
  36. def refresh(): Unit
    Definition Classes
    CanvasNoPanelsCanvasUser
  37. def repaint(els: Arr[GraphicElem]): Unit

    Repaints the canvas, takes a Refs collection as parameter.

    Repaints the canvas, takes a Refs collection as parameter.

    Definition Classes
    CanvasNoPanels
  38. def repaints(els: GraphicElem*): Unit

    Repaints the canvas takes repeat parameters of GraphicElem.

    Repaints the canvas takes repeat parameters of GraphicElem.

    Definition Classes
    CanvasNoPanels
  39. def right: Double
    Definition Classes
    RectCenlign
  40. def rs: GraphicElems
  41. val scen: BScen
  42. def setMouseSimple(action: (Vec2) => Unit): Unit
    Definition Classes
    PanelLike
  43. def setMouseSimplest(action: => Unit): Unit
    Definition Classes
    PanelLike
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def timedRepaint(f: (Integer) => GraphicElems): Unit

    This function is to create a display that changes over time.

    This function is to create a display that changes over time. So you pass in a function from the time elapsed in milliseconds to the Arr of DisplayElems that you want to display at that time point.

    Definition Classes
    CanvasNoPanels
  46. def timedRepaint1(f: (Integer) => GraphicElem): Unit
    Definition Classes
    CanvasNoPanels
  47. val title: String
    Definition Classes
    CanvasUser
  48. def top: Double
    Definition Classes
    RectCenlign
  49. final def topLeft: Vec2
    Definition Classes
    RectangularlignAlignedElem
    Annotations
    @inline()
  50. def topLeftDelta: Vec2
    Definition Classes
    AlignedElem
  51. final def topRight: Vec2
    Definition Classes
    RectangularlignAlignedElem
    Annotations
    @inline()
  52. def topRightDelta: Vec2
    Definition Classes
    AlignedElem
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. def width: Double
    Definition Classes
    CanvasNoPanelsRectangularlign
  57. final def xBottomLeft: Double
    Definition Classes
    Rectangularlign
    Annotations
    @inline()
  58. final def xBottomRight: Double
    Definition Classes
    Rectangularlign
    Annotations
    @inline()
  59. def xCen: Double
    Definition Classes
    RectCenlignRectangularlignAlignedElem
  60. final def xTopLeft: Double
    Definition Classes
    Rectangularlign
    Annotations
    @inline()
  61. final def xTopRight: Double
    Definition Classes
    Rectangularlign
    Annotations
    @inline()
  62. final def yBottomLeft: Double
    Definition Classes
    Rectangularlign
    Annotations
    @inline()
  63. final def yBottomRight: Double
    Definition Classes
    Rectangularlign
    Annotations
    @inline()
  64. def yCen: Double
    Definition Classes
    RectCenlignRectangularlignAlignedElem
  65. final def yTopLeft: Double
    Definition Classes
    Rectangularlign
    Annotations
    @inline()
  66. final def yTopRight: Double
    Definition Classes
    Rectangularlign
    Annotations
    @inline()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CanvasNoPanels

Inherited from PanelLike

Inherited from RectCenlign

Inherited from Rectangularlign

Inherited from AlignedElem

Inherited from CanvasUser

Inherited from AnyRef

Inherited from Any

Ungrouped