Record Class Index.NameConflict
java.lang.Object
java.lang.Record
gaiasky.scene.Index.NameConflict
- Enclosing class:
Index
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.ashley.core.Entitye1()Returns the value of thee1record component.Returns the value of thee1Archetyperecord component.e1Parent()Returns the value of thee1Parentrecord component.com.badlogic.ashley.core.Entitye2()Returns the value of thee2record component.Returns the value of thee2Archetyperecord component.e2Parent()Returns the value of thee2Parentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NameConflict
public NameConflict(String name, com.badlogic.ashley.core.Entity e1, String e1Parent, Archetype e1Archetype, com.badlogic.ashley.core.Entity e2, String e2Parent, Archetype e2Archetype) Creates an instance of aNameConflictrecord class.- Parameters:
name- the value for thenamerecord componente1- the value for thee1record componente1Parent- the value for thee1Parentrecord componente1Archetype- the value for thee1Archetyperecord componente2- the value for thee2record componente2Parent- the value for thee2Parentrecord componente2Archetype- the value for thee2Archetyperecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
e1
public com.badlogic.ashley.core.Entity e1()Returns the value of thee1record component.- Returns:
- the value of the
e1record component
-
e1Parent
Returns the value of thee1Parentrecord component.- Returns:
- the value of the
e1Parentrecord component
-
e1Archetype
Returns the value of thee1Archetyperecord component.- Returns:
- the value of the
e1Archetyperecord component
-
e2
public com.badlogic.ashley.core.Entity e2()Returns the value of thee2record component.- Returns:
- the value of the
e2record component
-
e2Parent
Returns the value of thee2Parentrecord component.- Returns:
- the value of the
e2Parentrecord component
-
e2Archetype
Returns the value of thee2Archetyperecord component.- Returns:
- the value of the
e2Archetyperecord component
-