Namespace AlphaFramework.World.Templates
Template system for building reusable/instantiable entities out of AlphaFramework.World.Components.
AlphaFramework's template system allows you to build reusable, instantiable entities from AlphaFramework.World.Components. Templates aggregate multiple components into a single definition that can be referenced by name and instantiated multiple times throughout your game world.
Classes
- EntityTemplateBase<TSelf>
A common base for entity templates (collection of components used as a prototype for constructing new entities). Defines the behavior and look for a certain class of EntityBase<TCoordinates, TTemplate>.
- Template<TSelf>
A set of data used as a prototype for constructing new objects at runtime.
- TerrainTemplateBase<TSelf>
A common base for terrain templates. Defines the texture for a patch of terrain.