C# Class FlatRedBall.TileEntities.TileEntityInstantiator

Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static CreateEntitiesFrom ( LayeredTileMap layeredTileMap ) : void
layeredTileMap FlatRedBall.TileGraphics.LayeredTileMap
Résultat void

CreateEntitiesFrom() public static méthode

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.
Résultat void