All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.test.TwoDrinkersAnimationTest

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

public class TwoDrinkersAnimationTest
extends UnitTest
An animation playfield containing two "java drinkers", that both bounce off the sides of the playfield.

One of the java drinkers moves slow and spins fast, while the other java drinker moves fast and spins slow. When the two java drinkers collide, they both play a bump sequence - at different speeds.

See Also:
AnimationTest, Playfield, Sprite

Constructor Index

 o TwoDrinkersAnimationTest()

Method Index

 o centerPanel()
 o title()

Constructors

 o TwoDrinkersAnimationTest
 public TwoDrinkersAnimationTest()

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