Beispiel #1
0
 public GameEntityAttribute(GameEntityAttributeType attributeType)
 {
     AttributeType = attributeType ?? throw new ArgumentNullException(nameof(attributeType));
 }
Beispiel #2
0
        public IGameEntityAttribute GetAttribute(GameEntityAttributeType attributeType)
        {
            attributes.TryGetValue(attributeType, out var attribute);

            return(attribute);
        }