Class HudNodeContainer<TElement>
- Namespace
- RichHudFramework.UI
- Assembly
- RichHudClient.dll
Base container class for generic HudCollection<TElementContainer, TElement> members.
Can be extended to associate data with arbitrary HUD nodes.
public class HudNodeContainer<TElement> : IHudNodeContainer<TElement> where TElement : HudNodeBase
Type Parameters
TElementUI element type used for the entry
- Inheritance
-
HudNodeContainer<TElement>
- Implements
-
IHudNodeContainer<TElement>
- Derived
Constructors
HudNodeContainer()
public HudNodeContainer()
Properties
Element
The HUD Element associated with this container.
public virtual TElement Element { get; protected set; }
Property Value
- TElement
Methods
SetElement(TElement)
Sets the element associated with the container.
This method should only allow a single assignment to ensure immutability of the link.
public virtual void SetElement(TElement element)
Parameters
elementTElement