Currently our towers and enemies have a path to where their sprites are in the filesystem. Instead we should handle this in the view.
I suggest creating some sort of "Resource" class which would store the path to the sprite instead. Then we would probably have to map the class of each enemy and tower to a resource in perhaps a "ResourceProvider"
Currently our towers and enemies have a path to where their sprites are in the filesystem. Instead we should handle this in the view.
I suggest creating some sort of "Resource" class which would store the path to the sprite instead. Then we would probably have to map the class of each enemy and tower to a resource in perhaps a "ResourceProvider"