Table of Contents

Class UIElementFactory

Namespace
PopcorningGuineaPig.Engine.Scenes
Assembly
PopcorningGuineaPig.Engine.dll
public abstract class UIElementFactory
Inheritance
UIElementFactory
Derived
Inherited Members

Methods

CanHandle(string)

public abstract bool CanHandle(string elementType)

Parameters

elementType string

Returns

bool

CreateElement(UIElementDefinition)

public abstract object CreateElement(UIElementDefinition definition)

Parameters

definition UIElementDefinition

Returns

object

CreateSceneForType(Type, SceneData?)

Creates the appropriate scene type based on scene data

public static Scene CreateSceneForType(Type sceneType, SceneData? sceneData)

Parameters

sceneType Type
sceneData SceneData

Returns

Scene