public Text(EntityState es, string name, SpriteFont font, string text, Vector2 position) : base(es, name) { Body = new Body(this, "Body", position); AddComponent(Body); Physics = new Physics(this, "Physics"); AddComponent(Physics); TextRender = new TextRender(this, "TextRender", font, text); AddComponent(TextRender); }
public Text(EntityState es, string name) : base(es, name) { Body = new Body(this, "Body"); AddComponent(Body); Physics = new Physics(this, "Physics"); AddComponent(Physics); TextRender = new TextRender(this, "TextRender"); AddComponent(TextRender); }