Apple Game Frameworks and Technologies: clarifying where animationType property goes

In the “Animate the Monsters: Defining the Game Objects” sub-section of chapter 11, it specifies to add a property in the AnimationComponent.swift file (@GKInspectable var animationType: String = GameObject.defaultAnimationType).

To avoid confusion, it may be useful to clarify that the property goes in the AnimationComponent class (and not the Animation struct at the top of the file).

Thanks :smiley_cat:

1 Like