|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GuideUpdateStrategy
This class is used in combination with GuideSelectionStrategy
to
determine when and if a particle's guides get updated.
Method Summary | |
---|---|
GuideUpdateStrategy |
getClone()
Create a cloned copy of the current object and return it. |
void |
updateGuide(Particle particle,
EntityType.Particle.Guide guideType,
Vector newGuide)
Determines if particle 's guide (either local or global depending on guideType )
should be updated, and updates it with newGuide . |
Method Detail |
---|
GuideUpdateStrategy getClone()
Cloneable
getClone
in interface Cloneable
Object.clone()
void updateGuide(Particle particle, EntityType.Particle.Guide guideType, Vector newGuide)
particle
's guide (either local or global depending on guideType
)
should be updated, and updates it with newGuide
.
particle
- The particle who's guide is to be updated.guideType
- If the local or global guide should be updated.newGuide
- The new guide that should replace the old guide, if it is to be updated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |