Interface IDrawable
Defines the interface for instance which can be drawn on IRenderSurface
Namespace:
Assembly: .dll
Syntax
public interface IDrawable
Methods
onDraw(IRenderContext2D renderContext, IAssetManager2D assetManager)
Draws this IDrawable instance
Declaration
public abstract void onDraw(IRenderContext2D renderContext, IAssetManager2D assetManager)
Parameters
Type | Name | Description |
---|---|---|
IRenderContext2D | renderContext | The render context instance to draw on |
IAssetManager2D | assetManager | The asset manager associated with render context |