Hello,
I'm brand new to this forum and Spine. To date, I've accomplished a quick-and-dirty integration of spine-c into my proprietary graphics/game library. After getting that to work, I purchased a license. Now, I wish to restructure this code. I've looked at the High-Level Overview diagram, but it appears to be missing a couple of objects that exist within spine-c. Basically, I wish to distinguish Actors from Models (an Actor is an instance of a Model). A Model should encapsulate shareable items, such as:
1) the skeleton
2) its associated animations
3) a default skin (and compatible skins
eventually)
So, I suspect that my Model should contain:
SkeletonData
AnimationStateData (created from the SkeletonData)
And each Actor should point back to its Model and include an instance of:
Skeleton (created from the SkeletonData)
Animation (initialized by a call to findAnimation targeting the SkeletonData)
AnimationState (created from the AnimationStateData)
Is this correct?
A more detailed read of the documentation answers my question, so... please disregard. BTW, the answer is: yes. The type names ending in "Data" connote large shared resources.