C# Class FlatRedBall.TileEntities.TileEntityInstantiator

Mostra file Open project: vchelaru/FlatRedBall

Public Methods

Method Description
CreateEntitiesFrom ( LayeredTileMap layeredTileMap ) : void
CreateEntitiesFrom ( MapDrawableBatch mapLayer, LayeredTileMap layeredTileMap ) : void

Creates entities from a single layer for any tile with the EntityToCreate property.

Private Methods

Method Description
ApplyPropertiesTo ( PositionedObject entity, MapDrawableBatch layer, int tileIndex, List propertiesToAssign ) : void
AssignCustomPropertyTo ( PositionedObject entity, FlatRedBall.TileGraphics.NamedValue property ) : void
CreateEntitiesFrom ( List entitiesToRemove, MapDrawableBatch layer, Dictionary propertiesDictionary ) : void
GetFactory ( string entityType ) : IEntityFactory
SetValueAccordingToType ( object valueToSet, string valueName, string valueType, Type entityType ) : object

Method Details

CreateEntitiesFrom() public static method

public static CreateEntitiesFrom ( LayeredTileMap layeredTileMap ) : void
layeredTileMap FlatRedBall.TileGraphics.LayeredTileMap
return void

CreateEntitiesFrom() public static method

Creates entities from a single layer for any tile with the EntityToCreate property.
public static CreateEntitiesFrom ( MapDrawableBatch mapLayer, LayeredTileMap layeredTileMap ) : void
mapLayer FlatRedBall.TileGraphics.MapDrawableBatch The layer to create entities from.
layeredTileMap FlatRedBall.TileGraphics.LayeredTileMap The map which contains the mapLayer instance.
return void