src/engine/systems/AbstractSystem.java
protected boolean checkComponents(Map<String,Component> map, String...keys) {
		for(String key : keys) {
			if(!map.containsKey(key)) {
				return false;
			}
		}
		return true;
	}
/**
	 * Special method for subclasses to check if an entity contains certain components,
	 * for an indefinite number of components
	 * @param map	Entity to check
	 * @param keys	List of component keys to check
	 * @return		True if entity contains all specified keys
	 */
Special method for subclasses to check if an entity contains certain components,
for an indefinite number of components
@param map   Entity to check
@param keys  List of component keys to check
@return              True if entity contains all specified keys
Special method for subclasses to check if an entity contains certain components for an indefinite number of components @param map Entity to check @param keys List of component keys to check @return True if entity contains all specified keys
protected boolean checkComponents(Map<String,Component> map, String...keys) {
		for(String key : keys) {
			if(!map.containsKey(key)) {
				return false;
			}
		}
		return true;
	}
protected boolean checkComponents ( Map < String , Component > map , String ... keys ) { for ( String key : keys ) { if ( ! map . containsKey ( key ) ) { return false ; } } return true ; }
Special method for subclasses to check if an entity contains certain components,
 for an indefinite number of components
 @param map   Entity to check
 @param keys  List of component keys to check
 @return              True if entity contains all specified keys
Special method for subclasses to check if an entity contains certain components for an indefinite number of components @param map Entity to check @param keys List of component keys to check @return True if entity contains all specified keys