Table of Contents

Interface IAspect<T>

Namespace
RisingV.Shared.Aspects
Assembly
RisingV.Shared.dll

Base contract for a strongly-typed aspect.

public interface IAspect<T> : IAspect

Type Parameters

T

The compile-time type of object this aspect can wrap (e.g. Entity, Equipment, plain Character DTO, …).

Extension Methods

Properties

Target

The wrapped object this aspect operates on.

T Target { get; }

Property Value

T

Methods

Qualifies(T)

Returns true if entity satisfies the structural and semantic requirements of this aspect (components present, tags set, valid state, etc.).

bool Qualifies(T entity)

Parameters

entity T

Returns

bool