Table of Contents

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, ICloneable<EntityTemplate>, IComparable<EntityTemplate>
Inheritance
object
EntityTemplate
Implements
Inherited Members

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 instance.

public override EntityTemplate Clone()

Returns

EntityTemplate

CloneEntityTemplate()

Creates a deep copy of this EntityTemplate instance.

public EntityTemplate CloneEntityTemplate()

Returns

EntityTemplate

The new copy of the EntityTemplate.

CloneFromTo(EntityTemplate, EntityTemplate)

Copies all members declared by EntityTemplate from one instance to another.

protected static void CloneFromTo(EntityTemplate from, EntityTemplate to)

Parameters

from EntityTemplate
to EntityTemplate