Feature label styling (#454)

* Added some basic tests for the ECS

* Add test project for Nuclex Gui

* Nuclex Gui project update

* Added ability to style labels

* Removed Nuclex Gui Test project for lack of tests
This commit is contained in:
Jon Seaman
2018-01-10 13:36:20 +10:00
committed by Dylan Wilson
parent cf028ef2a9
commit eb5fd93e9f
19 changed files with 671 additions and 5 deletions
@@ -0,0 +1,16 @@
using MonoGame.Extended.Entities;
namespace MonoGame.Extended.Gui.Tests.Implementation
{
[EntityTemplate(Name)]
public class EntityTemplateUsingManager : EntityTemplate
{
public const string Name = nameof(EntityTemplateUsingManager);
protected override void Build(Entity entity)
{
var num = Manager.EntityManager.TotalEntitiesCount;
entity.Attach<EntityComponentBasic>(c => c.Number = num);
}
}
}