Package | Description |
---|---|
synergynet3.activitypack1.table.fishes | |
synergynet3.activitypack1.table.fishes.birdmodel |
Modifier and Type | Method and Description |
---|---|
Bird |
BirdCollection.birdAtIndex(int i)
Bird at index.
|
Modifier and Type | Method and Description |
---|---|
void |
BirdCollection.addBird(Bird b)
Adds the bird.
|
void |
BirdCollection.removeBird(Bird b)
Removes the bird.
|
Modifier and Type | Class and Description |
---|---|
class |
Food
This food class represents a food item on the map that all birds, including
predators want to eat.
|
class |
Obstacle
This obstacle class represents an item on the map that all birds try to
avoid.
|
class |
Predator
The predator is a type of bird that tries to eat the other birds.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<Bird> |
Flock.move()
Tells each Bird in the Vector to move in the direction of the
generalHeading.
|
Modifier and Type | Method and Description |
---|---|
void |
Flock.addBird(Bird bird)
Add a bird to the flock.
|
float |
Bird.getDistance(Bird otherBird)
Get the distance in pixels between this bird and another
|