daoc.editor.model
Class TextureManager

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended bydaoc.editor.model.TextureManager
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class TextureManager
extends java.util.HashMap

Manages the collection of loaded textures. Each texture is identified by a unique name.

See Also:
Serialized Form

Constructor Summary
TextureManager()
           
 
Method Summary
 Texture get(java.lang.String s)
           
 java.lang.String[] getList()
           
 java.util.List getNodes()
           
 void load()
           
 void put(Texture t)
           
 void remove(AssetNode n)
           
 void update(AssetNode n)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

TextureManager

public TextureManager()
Method Detail

load

public void load()

put

public void put(Texture t)

remove

public void remove(AssetNode n)

get

public Texture get(java.lang.String s)

update

public void update(AssetNode n)

getNodes

public java.util.List getNodes()

getList

public java.lang.String[] getList()