Package fang

Provides the classes used in the FANG Engine.

See:
          Description

Interface Summary
Alarm Used to enable timed events.
AlarmScheduler This interface contains all of the methods for scheduling and cancelling alarms.
Bounceable  
CanvasInterface  
RawMediaCache.MediaLoadListener  
Reversible This interface indicates that a Tracker can advance the time backwards as well as forwards.
Tracker provides a mechanism for altering the size, location, orientation and other aspects of a Sprite between each frame.
 

Class Summary
AbsoluteTransformer This class provides an alternative interface to the Tracker interface.
AlternateTracker This class provides an alternative interface to the Tracker interface.
AnimationCanvas This class is a JPanel that contains Sprites.

The license below must remain in the software unaltered.
ArcSprite This class represents a circular arc as a Sprite.
Box2D  
ButtonCanvas  
ButtonSprite  
Client The Client traps input from the user and sends it to the Server asynchronously.
CompositeSprite A CompositeSprite that contains a group of sprites; individual sprites are positioned relative to the origin of the composite (they can be translated, rotate, or scaled relative to the CompositeSprites origin and scale).
CompositeSpriteOld This class extend the base Sprite class in order to allow multiple colors and shapes in a single sprite.
CompositeTracker This class combines several trackers into a single tracker by composing the scaling, rotating, and translating.
DOSCommandLine Win32 command-line parameter finding routine.
ErrorConsole Displays runtime errors in a meaningful way.
FangPackageGenerator This class moves and refactors all of the packaged classes into the single package fang for easy importing.
Fill  
FrameAdvancer used to advance the frame in an animation using the AnimationCanvas.
FunButton This class represents a button which can animate the background and also resize the font with changes in the button size.
FunComboBox This class represents a text field which can animate the background.
FunFrame This class represents a frame which can animate the background.
FunPainter  
FunPanel This class represents a frame which can animate the background.
FunTextField This class represents a text field which can animate the background.
Game The class representing a FANG video game.
GameConnections The GameConnections store the input and output connections to the Client.
GameLevel This class mimicks the GameLoop.
GameLoop This class adds mouse and keyboard interaction to FrameAdvancer and also provides a method for sending Objects to the other clients.
GameRedirection This class redirects all method calls to the originally extended JApplet.
GameWindow Driver for the GameLoop.
GradientFill  
HTMLDisplay Displays an html file in a JDialog box.
HttpServer This establishes incoming connections and directs them to the appropriate GameConnection.
HttpServerSocket  
ImageFill  
ImageSprite This class takes an image and transforms it into a Sprite.
InitializeApplication  
InputFieldSprite This class enables text input within the AnimationCanvas via a special Sprite which responds to keyboard input when the specified mouse is inside the box.
Keyboard This class uses polling rather than events for keyboard input.
LineSprite  
Location2D This class represents an (x, y) coordinate within some space.
MidiSound  
Mouse Stores the mouse positions and clicks for use in the gaming engine.
MultiShapeSprite This class has been renamed CompositeSprite and will be removed from future releases of the FANG Engine.
OutlineFill  
OutlineSprite  
OutlineTracker  
OutlineTransformer This tracker enables a path to be created from any shape or Sprite.
OvalSprite This class represents an oval sprite.
Palette This class represents a color as a red, green, blue triple whose range for each component is 0 ..
PieSprite This class represents a wedge of pie as a Sprite.
Platform This class contains methods to support platform-specific code.
Player Collects player information such as the mouse, keyboard, and message.
PolygonSprite This class makes a polygon shaped sprite.
PrettyStringSprite This class converts text into a sprite.
ProjectileTracker  
ProjectileTransformer This class simulates 2D projectile motion, with or without gravity.
Proxy This class simply forwards messages to and from a client and web server.
RawMediaCache This class facilitates loading and caching content from a URL off the main execution thread.
RectangleSprite This class represents a rectangular sprite.
SampledSound Plays mp3 and wav files.
SequentialSound This class can play only one sound at a time.
Server This establishes incoming connections and directs them to the appropriate GameConnection.
Size2D This class represents an width by height area within some space.
SolidFill  
Sound This class that is capable of playing sampled sounds and MIDIs.
Spinner This class animates a Sprite spinning in place.
Sprite This class provides a structure for representing sprites which have size, shape, orientation, and color.
SpriteFrame This class represents a way to group sprites together such that they can be scaled, translated, and rotated together.
StringField This class enables text input within the AnimationCanvas via a special Sprite which responds to keyboard input when the specified mouse is inside the box.
StringSprite This class converts text into a sprite.
TimedAction This class is used to make something happen at a particular time.
TrackerAdapter provides a default implementation of the Tracker interface methods except for advanceTime
Transformer provides a default implementation of the Tracker interface.
Vector2D This class represents a vector (direction and magnitude) within some space.
 

Exception Summary
ErrorException This class allows errors to be reported in a consistent way.
 

Package fang Description

Provides the classes used in the FANG Engine. See the Freely Available Networked Gaming Enging Website for more information.