Assets like images and sounds that we use for internally loading are kept in a map<string, resource> structure right now, instead of strings it'd be better if we kept an ENUM of all our resources. That way mistyping resources would be a compiler error instead of a runtime error.
Assets like images and sounds that we use for internally loading are kept in a map<string, resource> structure right now, instead of strings it'd be better if we kept an ENUM of all our resources. That way mistyping resources would be a compiler error instead of a runtime error.