C# Class TMXGlueLib.TiledMapToShapeCollectionConverter

ファイルを表示 Open project: vchelaru/FlatRedBall

Public Methods

Method Description
ToShapeCollection ( this tiledMapSave, string layerName = null ) : ShapeCollection
ToShapeCollectionSave ( this tiledMapSave, string layerName ) : ShapeCollectionSave

Private Methods

Method Description
ConvertTmxObjectToFrbPolygonSave ( this tiledMapSave, string name, double x, double y, double w, double h, double rotation, mapObjectgroupObjectEllipse ellipse ) : PolygonSave
ConvertTmxObjectToFrbPolygonSave ( this tiledMapSave, string name, double x, double y, double rotation, string points, bool connectBackToStart ) : PolygonSave

Method Details

ToShapeCollection() public static method

public static ToShapeCollection ( this tiledMapSave, string layerName = null ) : ShapeCollection
tiledMapSave this
layerName string
return ShapeCollection

ToShapeCollectionSave() public static method

public static ToShapeCollectionSave ( this tiledMapSave, string layerName ) : ShapeCollectionSave
tiledMapSave this
layerName string
return FlatRedBall.Content.Math.Geometry.ShapeCollectionSave