public TextInput(Rectangle r, PressedEnter e)
{
//chat = g;
enter = e;
area = r;
texture = new Texture2D(MenuManager.batch.GraphicsDevice, 1, 1, true, SurfaceFormat.Color);
texture.SetData(new[] { Color.White });
stringvector = new Vector2(area.Center.X, area.Center.Y) - (MenuManager.font.MeasureString(input) / 2);
}