using System;
namespace gaemstone.ECS;
[Tag]
public struct Relation { }
///
/// Marked entity represents a relationship type.
/// It may be used as the "relation" in a pair.
///
///
/// The relationship may have component data associated with
/// it when added to an entity under these circumstances:
///
/// - If marked as a , does not carry data.
/// - If marked as a , carries the relation's data.
/// - If marked with neither, will carry the target's data, if it's a component.
///
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum)]
public class RelationAttribute : Attribute, ICreateEntityAttribute { }