org.molwind.model
Interface MolwindWorld

All Known Implementing Classes:
AbstractMolwindWorld

public interface MolwindWorld

MolwindWorld interface represents a molwind world description.

Version:
1.0
Author:
Oliver Karch

Method Summary
 java.util.Iterator getEntityIterator()
          Returns an iterator over the world's entities.
 java.lang.String getName()
          Returns the name of the world.
 RelationshipResolver getRelationshipResolver()
          Returns a strategy object to resolve relationships among entities.
 TileGenerator getTileGenerator()
          Returns an instance of a tile generator.
 TopologyManager getTopologyManager()
          Returns a strategy object to determine visible entities and their positions.
 

Method Detail

getName

java.lang.String getName()
Returns the name of the world.

Returns:
the world's name

getEntityIterator

java.util.Iterator getEntityIterator()
Returns an iterator over the world's entities.

Returns:
an entity reader for this world

getRelationshipResolver

RelationshipResolver getRelationshipResolver()
Returns a strategy object to resolve relationships among entities.

Returns:
a resolver for entity reader for this world

getTopologyManager

TopologyManager getTopologyManager()
Returns a strategy object to determine visible entities and their positions.

Returns:
an instance of the topology manager

getTileGenerator

TileGenerator getTileGenerator()
Returns an instance of a tile generator.

Returns:
a tile generator which visualizes the entities of this world


Copyright © 2008-2010. All Rights Reserved.