FLOCKS: PROGRAMMER’S MANUAL

 

To Compile the Program:

            To compile the program, you must type javac Main.java, and all these files must be included:

            BouncerFactory.java  Animatable.java   AnimationCanvas.java        Canvas.java

Flock.java  AnimationController.java    FlockBird.java  Bird.java  Main.java  BirdFactory.java   Paintable.java  Bouncer.java    README

 

 

The Program Design:

          The way the program currently runs, it implements the classes Canvas and Animateable to create a world in which animated flocks can fly around, created by the help of BirdFactory and Bird/FlockBird/Flock.java, and it the world is held and packed together by Main and another underground class, Paintable.java.

 

The Program Design(detailed):

          Animatable.java : When implemented, supplies functions that actually call for animation.

            AnimationCanvas.java: Makes the canvas a world on which flocks can fly.

            Canvas.java: The basic canvas for drawing from java.awt.

            Flock.java: My attempt to upgrade the flock behavior…in progress…

            AnimationController.java: Tells animate function how and when to work when passed

                        Animatiable objects…

            FlockBird.java: A bird that is created for homogenous properties of a flock

            Bird.java.: the basic random bird

            Main.java: Holds all functions that together run the program

            Paintable.java: Provides basic awt draw functions

 

Interaction:

          The main interaction right now is only the mouseclickedevent, which allows a flock to be created.

 

Features Remaining:

          There are many. I still need to create flocks that know more about themselves, that follow more than just the one rule in a effect, radio buttons, a more user friendly interface, more than just flocks that fly across the screen, etc. There is currently much much more to come.