|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCSE115.ShapeWorld.Behavior
CSE115.ShapeWorld.CompositeBehavior
public class CompositeBehavior
| Field Summary |
|---|
| Fields inherited from class CSE115.ShapeWorld.Behavior |
|---|
MOVE, PULSE, ROTATE |
| Constructor Summary | |
|---|---|
CompositeBehavior(Behavior b1,
Behavior b2)
|
|
CompositeBehavior(List<Behavior> behavior)
|
|
| Method Summary | |
|---|---|
void |
add(Behavior b)
|
void |
perform(Shape s)
|
void |
remove(Behavior b)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeBehavior(Behavior b1,
Behavior b2)
public CompositeBehavior(List<Behavior> behavior)
| Method Detail |
|---|
public void add(Behavior b)
public void remove(Behavior b)
public void perform(Shape s)
perform in class Behavior
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||