Class gjt.test.BumpAnimationTest
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.test.BumpAnimationTest

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----gjt.test.UnitTest
                                           |
                                           +----gjt.test.BumpAnimationTest

public class BumpAnimationTest
extends UnitTest
A simple animation playfield with one sprite that bounces off the boundaries of the playfield.

When the sprite bounces off the left wall, it plays a bump sequence once; when it bounces off the right wall it plays the bump sequence twice.

See Also:
Playfield, Sprite

Constructor Index

 o BumpAnimationTest()

Method Index

 o centerPanel()
 o title()

Constructors

 o BumpAnimationTest
  public BumpAnimationTest()

Methods

 o title
  public String title()
Overrides:
title in class UnitTest
 o centerPanel
  public Panel centerPanel()
Overrides:
centerPanel in class UnitTest

All Packages  Class Hierarchy  This Package  Previous  Next  Index