Class EntityTemplate
- Namespace
- FrameOfReference.World.Templates
- Assembly
- FrameOfReference.World.dll
A collection of components used as a prototype for constructing new Entitys.
public class EntityTemplate : EntityTemplateBase<EntityTemplate>, INamed, IHighlightColor, ICloneable, IComparable<EntityTemplate>
- Inheritance
-
EntityTemplate
- Implements
- Inherited Members
- Extension Methods
Properties
Collision
Controls how EntityBase<TCoordinates, TTemplate>s occupy space around them.
[Browsable(false)]
public Collision<Vector2>? Collision { get; set; }
Property Value
- Collision<Vector2>
Methods
Clone()
Creates a deep copy of this EntityTemplate.
public override EntityTemplate Clone()
Returns
- EntityTemplate
The cloned EntityTemplate.