Package gaiasky.scene

Class AttributeMap

java.lang.Object
gaiasky.scene.AttributeMap

public class AttributeMap extends Object
  • Constructor Details

    • AttributeMap

      public AttributeMap()
  • Method Details

    • get

      public Class<? extends com.badlogic.ashley.core.Component> get(String key)
      Returns the component class to which the specified key is mapped.
      Parameters:
      key - The key.
      Returns:
      The component class.
    • containsKey

      public boolean containsKey(String key)
      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

      public boolean containsValue(Class<? extends com.badlogic.ashley.core.Component> value)
    • initialize

      public Map<String,Class<? extends com.badlogic.ashley.core.Component>> initialize()