Creates a Coin object for the game, with a physics body.
The configuration for the Coin object.
The created Coin object.
Protected
createCreates a Coin object, loads its mesh and sound, and sets up physics if requested.
The configuration for the Coin object.
Whether to enable physics.
The mesh file path.
Protected
createCreates a SuperCoin object (without mesh).
The configuration for the SuperCoin object.
Creates a Coin object for the editor, without a physics body.
The configuration for the Coin object.
The created Coin object for the editor.
Protected
createCreates a SuperCoin object, loads its mesh and sound, and sets up physics if requested.
The configuration for the SuperCoin object.
Whether to enable physics.
SuperCoinFactory creates SuperCoin objects. Inherits from CoinFactory and overrides the type and score.