Skip to content

Move sprite paths out of model #43

@antoneekstrom

Description

@antoneekstrom

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions