Table of Contents

Class FlexibleShapeDefinitionFactory

Namespace
Root
Assembly
Game.Content.Features.dll
public class FlexibleShapeDefinitionFactory : IShapeDefinitionFactory
Inheritance
object
FlexibleShapeDefinitionFactory
Implements
Extension Methods

Constructors

FlexibleShapeDefinitionFactory(IEnumerable<IShapeSubPart>, IEnumerable<IShapeColor>, IShapeHashParser, IShapeIdManager)

public FlexibleShapeDefinitionFactory(IEnumerable<IShapeSubPart> shapeSubParts, IEnumerable<IShapeColor> shapeColors, IShapeHashParser shapeHashParser, IShapeIdManager shapeIdManager)

Parameters

shapeSubParts IEnumerable<IShapeSubPart>
shapeColors IEnumerable<IShapeColor>
shapeHashParser IShapeHashParser
shapeIdManager IShapeIdManager

Methods

CreateShapeDefinition(string)

public ShapeDefinition CreateShapeDefinition(string hash)

Parameters

hash string

Returns

ShapeDefinition

TryCreateShapeDefinition(string, out ShapeDefinition)

public bool TryCreateShapeDefinition(string hash, out ShapeDefinition shapeDefinition)

Parameters

hash string
shapeDefinition ShapeDefinition

Returns

bool