com.croftsoft.core.animation.model
Interface World

All Superinterfaces:
WorldAccessor
All Known Implementing Classes:
SeriWorld

public interface World
extends WorldAccessor

Provides methods for manipulating the Models in the game.

Since:
2003-04-14
Version:
2003-06-05
Author:
David Wallace Croft

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

clear

void clear()

remove

void remove(Model model)

prepare

void prepare()

update

void update(double timeDelta)

getModel

Model getModel(PointXY pointXY,
               Class[] classes,
               Model model)
Gets an active Model that contains the point.

Parameters:
classes - The returned Model will be an instance of one of the classes.
model - The Model to ignore, usually the one calling this method.

getModels

Model[] getModels()

isBlocked

boolean isBlocked(Model model)
Determines whether an active Impassable overlaps the model shape.


isBlocked

boolean isBlocked(Shape shape,
                  Model model)
Determines whether an active Impassable overlaps the shape.

Parameters:
model - The model to ignore.

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)