Interface IDisplayList
Represents an ordered list of objects that will be displayed on screen.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IDisplayList
Methods
| Improve this Doc View SourceGetCursor()
Gets the mouse cursor.
Declaration
IObject GetCursor()
Returns
Type | Description |
---|---|
IObject | The cursor. |
GetDisplayList(IViewport)
Gets an ordered list of objects to display on screen.
Declaration
List<IObject> GetDisplayList(IViewport viewport)
Parameters
Type | Name | Description |
---|---|---|
IViewport | viewport | Viewport. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<IObject> | The display list. |
Update(Boolean)
Update the display list (this is called every tick by the game engine itself).
Declaration
void Update(bool forceUpdate)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | forceUpdate | Should we force an update of the display list? |