src/authoring/entities/NonInteractableEntity.java
@Override
	public void add(Component c) {
		if (ResourceBundle.getBundle(NI_PROPERTIES_PATH).keySet().contains(c.getKey())) {
			components.add(c);
		} else {
			throw new AuthoringException(ERROR_MESSAGE, AuthoringAlert.SHOW, c.getKey());
		}
	}
/**
	 * Add a component ONLY if it represents either position, dimension, or sprite.
	 * @param c the component to add
	 */
Add a component ONLY if it represents either position, dimension, or sprite.
@param c the component to add
Add a component ONLY if it represents either position dimension or sprite . @param c the component to add
@Override
	public void add(Component c) {
		if (ResourceBundle.getBundle(NI_PROPERTIES_PATH).keySet().contains(c.getKey())) {
			components.add(c);
		} else {
			throw new AuthoringException(ERROR_MESSAGE, AuthoringAlert.SHOW, c.getKey());
		}
	}
@ Override public void add ( Component c ) { if ( ResourceBundle . getBundle ( NI_PROPERTIES_PATH ) . keySet ( ) . contains ( c . getKey ( ) ) ) { components . add ( c ) ; } else { throw new AuthoringException ( ERROR_MESSAGE , AuthoringAlert . SHOW , c . getKey ( ) ) ; } }
Add a component ONLY if it represents either position, dimension, or sprite.
Add a component ONLY if it represents either position dimension or sprite .