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 Coin object (without mesh).
The configuration for the Coin 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 Coin object, loads its mesh and sound, and sets up physics if requested.
The configuration for the Coin object.
Whether to enable physics.
Factory for creating Coin objects.
Implements