1 using Microsoft.Xna.Framework;
3 using System.Collections.Generic;
33 foreach (var subElement
in element.Elements())
35 if (subElement.Name.ToString().Equals(
"sprite", StringComparison.OrdinalIgnoreCase))
41 Color = element.GetAttributeColor(
"color", Color.White);
43 LifeTime = element.GetAttributeFloat(
"lifetime", 10.0f);
DecalPrefab(ContentXElement element, DecalsFile file)
readonly float FadeInTime
readonly float FadeOutTime
readonly List< Sprite > Sprites
readonly Identifier Identifier
Prefab that has a property serves as a deterministic hash of a prefab's identifier....