abstract class AcceleratedDisplay extends AnyRef
- Alphabetic
- By Inheritance
- AcceleratedDisplay
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AcceleratedDisplay(width: Int, height: Int, xPos: Int, yPos: Int, title: String, high_quality: Boolean)
- width
the width of the window (in pixels)
- height
the height of the window (in pixels)
- xPos
the x offset position of the window on the screen, -1 for centered
- yPos
the y offset position of the window on the screen, -1 for centered
- title
the title of the window
- high_quality
whether to enable antialiasing or not
- new AcceleratedDisplay(width: Int, height: Int, title: String, high_quality: Boolean)
- width
the width of the window (in pixels)
- height
the height of the window (in pixels)
- title
the title of the window
- high_quality
whether to enable antialiasing or not
- See also
AcceleratedDisplay(Int, Int, Int, Int, String, Boolean)
- new AcceleratedDisplay()
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
- var DISPLAY_FPS: Boolean
- Attributes
- protected
- var TRANSPARENT: Color
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- var backBuffer: BufferedImage
- Attributes
- protected
- var backg2d: Graphics2D
- Attributes
- protected
- var bufferStrategy: BufferStrategy
Buffer and g2d stuff
Buffer and g2d stuff
- Attributes
- protected
- var checkBorders: Boolean
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- var current_fps: Double
- Attributes
- protected
- def displayFPS(x: Boolean): Unit
Selects if the FPS should be printed
Selects if the FPS should be printed
- x
FPS will be printed when set to true
- var enableRenderingHints: Boolean
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- var fHeight: Int
- Attributes
- protected
- var fWidth: Int
- Attributes
- protected
- var frontBuffer: BufferedImage
- var frontg2d: Graphics2D
- Attributes
- protected
- var g2d: Graphics2D
- Attributes
- protected
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var mainFrame: JFrame
The subclass which create the windows frame
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def syncGameLogic(FPS: Int): Unit
Call this method periodically to have a constant frame rate
Call this method periodically to have a constant frame rate
- FPS
the target frame rate
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- var target_fps: Int
- Attributes
- protected
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated