noope.input
Class HardCodedEntityLoader

java.lang.Object
  |
  +--noope.input.EntityLoader
        |
        +--noope.input.HardCodedEntityLoader

public class HardCodedEntityLoader
extends EntityLoader

This is an implementation of EntityLoader that has all the Entity classes known to it hard-coded. This is intended as a workaround for Netscape's paranoid SecurityManager and its use is discouraged, except for Applets. If you are writing an application, use the DynamicEntityLoader.

Version:
28-Apr-2001
Author:
Miklos Reiter

Constructor Summary
HardCodedEntityLoader()
          Does nothing.
 
Method Summary
 Entity createEntity(java.lang.String className, BlockReaderLocation brL, BlockReader br, Physics phys)
          Creates a new Entity object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HardCodedEntityLoader

public HardCodedEntityLoader()
Does nothing.
Method Detail

createEntity

public Entity createEntity(java.lang.String className,
                           BlockReaderLocation brL,
                           BlockReader br,
                           Physics phys)
                    throws BRLoadingException
Creates a new Entity object. At the moment, only the Entity class is known to it.
Overrides:
createEntity in class EntityLoader