Example #1
0
        public override void Construct()
        {
            Border = "border-fancy";
            var builder = new StringBuilder();

            builder.AppendLine(String.Format("Place {0}", Data.Name));
            builder.AppendLine(String.Format("Strength: {0}", Data.StartingHealth));
            builder.AppendLine(String.Format("Requires: {0}", Data.GetBuildRequirementsString()));
            builder.Append("Click to build.");

            Font      = "font8";
            Text      = builder.ToString();
            TextColor = Color.Black.ToVector4();
        }