add two 'spriteWithPattern' methods