Interface IGameFactory
The game factory. This factory contains all of the other factories. Factories are used to offer convience methods for creating game objects.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IGameFactory
Properties
| Improve this Doc View SourceDialog
Gets the dialog factory (for creating dialogs and dialog options).
Declaration
IDialogFactory Dialog { get; }
Property Value
Type | Description |
---|---|
IDialogFactory | The dialog factory. |
Fonts
Gets the fonts factory (for loading fonts).
Declaration
IFontFactory Fonts { get; }
Property Value
Type | Description |
---|---|
IFontFactory | The fonts factory. |
Graphics
Gets the graphics factory (for loading images/animations).
Declaration
IGraphicsFactory Graphics { get; }
Property Value
Type | Description |
---|---|
IGraphicsFactory | The graphics factory. |
Inventory
Gets the inventory factory (for creating the inventory window and inventory items).
Declaration
IInventoryFactory Inventory { get; }
Property Value
Type | Description |
---|---|
IInventoryFactory | The inventory factory. |
Masks
Gets the masks factory (for loading masks from bitmaps).
Declaration
IMaskLoader Masks { get; }
Property Value
Type | Description |
---|---|
IMaskLoader | The masks. |
Object
Gets the object factory (for creating objects and characters).
Declaration
IObjectFactory Object { get; }
Property Value
Type | Description |
---|---|
IObjectFactory | The object factory. |
Outfit
Gets the outfit factory (for creating animation outfits for characters).
Declaration
IOutfitFactory Outfit { get; }
Property Value
Type | Description |
---|---|
IOutfitFactory | The outfit. |
Resources
Gets the resources factory (for loading resources).
Declaration
IResourceLoader Resources { get; }
Property Value
Type | Description |
---|---|
IResourceLoader | The resources. |
Room
Gets the room factory (for creating the rooms and their edges)
Declaration
IRoomFactory Room { get; }
Property Value
Type | Description |
---|---|
IRoomFactory | The room factory. |
Shaders
Gets the shaders factory (for loading graphics hardware rendering shaders).
Declaration
IShaderFactory Shaders { get; }
Property Value
Type | Description |
---|---|
IShaderFactory | The shaders. |
Sound
Gets the audio factory (for loading sounds).
Declaration
IAudioFactory Sound { get; }
Property Value
Type | Description |
---|---|
IAudioFactory | The sound factory. |
UI
Gets the UI factory (for creating UI controls like buttons, checkboxes, etc).
Declaration
IUIFactory UI { get; }
Property Value
Type | Description |
---|---|
IUIFactory | The user interface factory. |