TestBlockGame

introprog.examples.TestBlockGame
object TestBlockGame

Examples of a simple BlockGame app with overridden callbacks to handle events See the documentation of BlockGame and the source code of TestBlockGame for inspiration on how to inherit BlockGame to create your own block game.

Attributes

Source
TestBlockGame.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class MovingBlock extends BlockGame

Attributes

Source
TestBlockGame.scala
Supertypes
class BlockGame
class Object
trait Matchable
class Any
class RandomBlocks extends BlockGame

A class extending introprog.BlockGame, see source code.

A class extending introprog.BlockGame, see source code.

Attributes

Source
TestBlockGame.scala
Supertypes
class BlockGame
class Object
trait Matchable
class Any

Value members

Concrete methods

def main(args: Array[String]): Unit

Create Game and start playing.

Create Game and start playing.

Attributes

Source
TestBlockGame.scala