edu.ohiou.cs456_badabing.sceneapi.basic
Class ModelFileManager

java.lang.Object
  extended by edu.ohiou.cs456_badabing.sceneapi.basic.ModelFileManager

public class ModelFileManager
extends java.lang.Object

Static Hashtable wrapper for ModelFiles associated by their names.

Description: static Hashtable wrapper for ModelFiles associated by their names.

Copyright: Lev A Neiman 2008

Company: Ohio University EECS


Field Summary
static java.util.Hashtable<java.lang.String,ModelFile> models
          static hashtable that relates String to ModelFile
 
Constructor Summary
ModelFileManager()
           
 
Method Summary
static ModelFile getFile(java.lang.String name)
          use this function to get a ModelFile loaded with file in name path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

models

public static java.util.Hashtable<java.lang.String,ModelFile> models
static hashtable that relates String to ModelFile

Constructor Detail

ModelFileManager

public ModelFileManager()
Method Detail

getFile

public static ModelFile getFile(java.lang.String name)
use this function to get a ModelFile loaded with file in name path. s

Parameters:
name - String
Returns:
ModelFile - mesh data