Package gaiasky.scene
Class AttributeMap
java.lang.Object
gaiasky.scene.AttributeMap
Holds a map with the relations of old object attributes to contained component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(String key) Checks whether the given key is in the attribute map.Class<? extends com.badlogic.ashley.core.Component>
Returns the component class to which the specified key is mapped.
-
Constructor Details
-
AttributeMap
public AttributeMap()
-
-
Method Details
-
get
Returns the component class to which the specified key is mapped.- Parameters:
key
- The key.- Returns:
- The component class.
-
containsKey
Checks whether the given key is in the attribute map.- Parameters:
key
- The key.- Returns:
true
if this map contains a mapping with the specified key.
-
initialize
-