Click or drag to resize
Blueprint Class
Blueprint for creating an entity with a specific set of components and initial attribute values.
Inheritance Hierarchy
SystemObject
  Slash.ECS.BlueprintsBlueprint

Namespace: Slash.ECS.Blueprints
Assembly: Slash.ECS.Blueprints (in Slash.ECS.Blueprints.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public sealed class Blueprint : IXmlSerializable, 
	IBinarySerializable

The Blueprint type exposes the following members.

Constructors
  NameDescription
Public methodBlueprint
Constructs a new blueprint without any components or data.
Public methodBlueprint(Blueprint)
Creates a deep copy of the specified blueprint.
Top
Properties
  NameDescription
Public propertyAttributeTable
Data for initializing the components of entities created with this blueprint.
Public propertyAttributeTableSerialized
Wrapper for AttributeTable property for xml serialization.
Public propertyComponentTypes
Collection of types of components to add to entities created with this blueprint.
Public propertyComponentTypesSerialized
Wrapper for ComponentTypes property for xml serialization.
Public propertyParent
Parent blueprint of this one. All components and attributes of the parent are also available for this one. Attributes can be overwritten though.
Public propertyParentId
Id of parent blueprint. Used for serialization/deserialization.
Top
Methods
  NameDescription
Public methodDeserialize
Reads this object from its binary representation.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).)
Public methodGetAllComponentTypes
Returns an enumeration of all component types of this and all ancestor blueprints.
Public methodGetAttributeTable
Returns the final attribute table to use for entity creation. Considers the attribute tables of the ancestors of this blueprint if there are any.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodGetSchema
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
Public methodReadXml
Generates an object from its XML representation.
Public methodSerialize
Converts this object to its binary representation.
Public methodShouldSerializeAttributeTableSerialized
Indicates if the AttributeTableSerialized property should be serialized via Xml.
Public methodShouldSerializeComponentTypesSerialized
Indicates if the ComponentTypesSerialized property should be serialized via Xml.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodTryGetValue
Tries to retrieve the value the specified key is mapped to within this blueprint. Searches for the key in a parent blueprint if existent.
Public methodWriteXml
Converts an object into its XML representation.
Top
See Also