private void somethingIfCollidesWith(String _name, int _action, Sprite... _sprite) {
		if (_sprite.length == 0 || (_sprite.length == 1 && _sprite[0] == Ucigame.PIXELPERFECT))
			Ucigame.logError(_name + "IfCollidesWith called with no Sprite specified.");

		boolean pixelPerfect = (_sprite[_sprite.length - 1] == Ucigame.PIXELPERFECT);

		// check each sprite listed, after initializing flags to false
		Xcollision = false;
		Ycollision = false;
		contactOnThisBottom = false;
		contactOnThisRight = false;
		for (Sprite s : _sprite) {
			if (s == Ucigame.PIXELPERFECT) // skip this flag
				continue;
			if (pixelPerfect)
				ifCollidesWithPixelPerfect(s, _action);
			else
				ifCollidesWith(s, _action);
		}
	}