Atlas Model Source
constructor(file: Path, canvas: Canvas, actions: List<String>, facings: List<String>, pattern: Template, durationMs: Map<String, Int> = emptyMap(), loops: Set<String> = emptySet())
Parameters
file
the .atlas file
canvas
the project canvas
actions
the project's actions
facings
the project's facings
pattern
a Template over {action}, {facing} and {frame}, all three required
duration Ms
each action's frame duration; an action not in the map gets DEFAULT_ATLAS_DURATION_MS
loops
the actions that loop; any other does not