NAME

Game::Asset::Multi - A mapping type that maps to multiple other types

DESCRIPTION

A game asset may want to be processed in multiple ways. For example, a Graphics::GVG vector may want both OpenGL and Chipmunk (physics library) representations.

This role should be done by any type that wishes to process a single piece of content into multiple sub-types. The _process_content() for the multitype should pass the content along to each of the sub-types.

See Game::Asset::MultiExample for example code.

This role does Game::Asset::Type.