Package gaiasky.scene
Class AttributeMap
java.lang.Object
gaiasky.scene.AttributeMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(String key) Checks whether the given key is in the attribute map.boolean
containsValue
(Class<? extends com.badlogic.ashley.core.Component> value) 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.
-
containsValue
-
initialize
-