introprog
Members list
Packages
Type members
Classlikes
A class for creating games with block-based graphics. See example usage in introprog.examples.TestBlockGame
A class for creating games with block-based graphics. See example usage in introprog.examples.TestBlockGame
Value parameters
- background
-
the color used when clearing pixels
- blockSize
-
the side of each square block in pixels
- dim
-
the (width, height) of the window in number of blocks
- framesPerSecond
-
the desired update rate in the gameLoop
- messageAreaBackground
-
the color of the message area background
- messageAreaHeight
-
the height in pixels of the message area
- title
-
the title of the window
Attributes
- Constructor
-
Create a new game.
- Source
- BlockGame.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MovingBlockclass RandomBlocks
A module with utilities for creating standard GUI dialogs.
A module with utilities for creating standard GUI dialogs.
Attributes
- Source
- Dialog.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Dialog.type
Companion object to create Image instances.
Companion object to create Image instances.
Attributes
- Companion
- class
- Source
- Image.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Image.type
Image represents pixel arrays backed by underlying java.awtimage.BufferedImage
Image represents pixel arrays backed by underlying java.awtimage.BufferedImage
Attributes
- Companion
- object
- Source
- Image.scala
- Supertypes
-
class Objecttrait Matchableclass Any
A module with utilities for event handling in PixelWindow
instances.
A module with utilities for event handling in PixelWindow
instances.
Attributes
- Companion
- class
- Source
- PixelWindow.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PixelWindow.type
A window with a canvas for pixel-based drawing. Y-coordinates are increasing downwards.
A window with a canvas for pixel-based drawing. Y-coordinates are increasing downwards.
Value parameters
- background
-
the color used when clearing pixels
- foreground
-
the foreground color, default color in drawing operations
- height
-
number of vertical pixels
- title
-
the title of the window
- width
-
the number of horizontal pixels
Attributes
- Constructor
-
Create a new window for pixel-based drawing.
- Companion
- object
- Source
- PixelWindow.scala
- Supertypes
-
class Objecttrait Matchableclass Any
A module with Swing utilities used by introprog.PixelWindow.
A module with Swing utilities used by introprog.PixelWindow.
Attributes
- Source
- Swing.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Swing.type