adding basic tile support to sprite class