Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audio ¶
type Audio struct {
*audio_source.AudioSource
}
Audio is used to define the state of audio playback for a single source of audio data.
func (*Audio) ExportToLua ¶
ExportToLua exports the factory to a lua table using the given lua state machine and lua table
type ComponentFactory ¶
type ComponentFactory struct {
*akara.ComponentFactory
}
ComponentFactory is a wrapper for the generic component factory.
func (*ComponentFactory) Add ¶
func (m *ComponentFactory) Add(id akara.EID) *Audio
Add adds an Audio component to the given entity and returns it
func (*ComponentFactory) ExportToLua ¶
ExportToLua exports the factory to a lua table using the given lua state machine and lua table
Click to show internal directories.
Click to hide internal directories.