|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface World
Provides methods for manipulating the Models in the game.
| Method Summary | |
|---|---|
void |
clear()
|
Model |
getModel(PointXY pointXY,
Class[] classes,
Model model)
Gets an active Model that contains the point. |
Model[] |
getModels()
|
boolean |
isBlocked(Model model)
Determines whether an active Impassable overlaps the model shape. |
boolean |
isBlocked(Shape shape,
Model model)
Determines whether an active Impassable overlaps the shape. |
void |
prepare()
|
void |
remove(Model model)
|
void |
update(double timeDelta)
|
| Methods inherited from interface com.croftsoft.core.animation.model.WorldAccessor |
|---|
getModelAccessors, isCleared |
| Method Detail |
|---|
void clear()
void remove(Model model)
void prepare()
void update(double timeDelta)
Model getModel(PointXY pointXY,
Class[] classes,
Model model)
classes - The returned Model will be an instance of one of the classes.model - The Model to ignore, usually the one calling this method.Model[] getModels()
boolean isBlocked(Model model)
boolean isBlocked(Shape shape,
Model model)
model - The model to ignore.
|
CroftSoft Javadoc | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||