Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component = FileLoadResponse // Component is an alias to FileLoadResponse
type ComponentFactory ¶
type ComponentFactory struct {
*akara.ComponentFactory
}
ComponentFactory is a wrapper for the generic component factory
func (*ComponentFactory) Add ¶
func (concrete *ComponentFactory) Add(id akara.EID) *FileLoadResponse
func (*ComponentFactory) ExportToLua ¶
ExportToLua exports the factory to a lua table using the given lua state machine and lua table
func (*ComponentFactory) Get ¶
func (concrete *ComponentFactory) Get(id akara.EID) (*FileLoadResponse, bool)
type FileLoadResponse ¶
type FileLoadResponse struct {
Stream io.ReadSeeker
}
FileLoadResponse represents the response to a request for loading a file
func (*FileLoadResponse) ExportToLua ¶
ExportToLua exports the component into the given table, using the given lua state machine.
func (*FileLoadResponse) New ¶
func (*FileLoadResponse) New() akara.Component
New creates a new FileLoadResponse
Click to show internal directories.
Click to hide internal directories.