Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component = FileLoadRequest // Component is an alias to FileLoadRequest
type ComponentFactory ¶
type ComponentFactory struct {
*akara.ComponentFactory
}
ComponentFactory is a wrapper for the generic component factory
func (*ComponentFactory) Add ¶
func (f *ComponentFactory) Add(id akara.EID) *FileLoadRequest
Add a FileLoadRequest for the given entity
func (*ComponentFactory) ExportToLua ¶
ExportToLua exports the component factory to the target table using the given lua state machine
func (*ComponentFactory) Get ¶
func (f *ComponentFactory) Get(id akara.EID) (*FileLoadRequest, bool)
Get a FileLoadRequest for the given entity (can be nil), and a bool for whether it was found
type FileLoadRequest ¶
FileLoadRequest represents a request for a file to be loaded. When the file is loaded, a FileLoadResponse should be created for the entity (by a system...)
func (*FileLoadRequest) ExportToLua ¶
ExportToLua exports the component into the given table, using the given lua state machine.
func (*FileLoadRequest) New ¶
func (*FileLoadRequest) New() akara.Component
New creates a new FileLoadRequest component
Click to show internal directories.
Click to hide internal directories.