Merge pull request #1 from ekt7be/master

added spawning entities
changed spawning mechanism to wave type
changed sprite texture2d to not repeatedly load