func added to tile class
Merge pull request #3 from McFaceDude/master

func added to tile class