|
Ant Farm - Robert Glen Martin School for the Talented and Gifted Dallas I.S.D. |
|||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Interface Summary | |
---|---|
Processable | Provides the process method that allows WorkerAnt
actors to polymorphically get food from the Food objects
(Cake and Cookie ) and give food to
QueenAnt objects. |
Class Summary | |
---|---|
Cake | A Cake sits around and waits for a
WorkerAnt to get food from it. |
Cookie | A Cookie sits around and waits for a
WorkerAnt to get food from it. |
Food | Food is the top level abstract class for different
types of food. |
QueenAnt | A QueenAnt sits around and waits for a
WorkerAnt to bring it food. |
WorkerAnt | A WorkerAnt is a critter who's mission is
to take food from Cake and Cookie objects and to
deliver it to a QueenAnt object. |
|
© 2007 Robert Glen Martin. All rights reserved. |
|||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |