src/authoring/entities/Entity.java
public boolean contains(String name) {
		for (Component existing : this.components) {
			if (existing.getKey().equals(name)) {
				return true;
			}
		}
		return false;
	}
/**
	 * Checks (explicitly) by name if the current entity already contains this component.
	 * @param name the name of the component to check
	 * @return true iff the component already belongs to this entity
	 */
Checks (explicitly) by name if the current entity already contains this component.
@param name the name of the component to check
@return true iff the component already belongs to this entity
Checks ( explicitly ) by name if the current entity already contains this component . @param name the name of the component to check @return true iff the component already belongs to this entity
public boolean contains(String name) {
		for (Component existing : this.components) {
			if (existing.getKey().equals(name)) {
				return true;
			}
		}
		return false;
	}
public boolean contains ( String name ) { for ( Component existing : this . components ) { if ( existing . getKey ( ) . equals ( name ) ) { return true ; } } return false ; }
Checks (explicitly) by name if the current entity already contains this component.
Checks ( explicitly ) by name if the current entity already contains this component .