public GameEntityGenericAttribute(GameEntityGenericAttributeType <TValue> attributeType, TValue baseValue) : base(attributeType) { this.baseValue = baseValue; }
public IGameEntityGenericAttribute <T> GetAttribute <T>(GameEntityGenericAttributeType <T> attributeType) where T : struct, IEquatable <T>, IComparable <T> { attributes.TryGetValue(attributeType, out var attribute); return(attribute as IGameEntityGenericAttribute <T>); }
public bool Equals(GameEntityGenericAttributeType <TValue> other) { return(base.Equals(other)); }
public IGameEntityGenericAttribute <T> GetAttribute <T>(GameEntityGenericAttributeType <T> attributeType) where T : struct, IComparable <T>, IEquatable <T> { return(Statistics.GetAttribute(attributeType)); }