using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Content; using System; using System.Collections.Generic; using System.Text; using Sprint3_actual.SpriteFactories; namespace Sprint3_actual.BorderElements { class TextBox : IBorder { private ISprite sprite; private Rectangle posRectangle; public TextBox(int x, int y) { this.posRectangle = new Rectangle(x, y, 192*3, 32*3); this.sprite = BorderElementsSpriteFactory.Instance.CreateTextBox(this); } public Rectangle getPos() { return posRectangle; } public Rectangle getHitbox() { return posRectangle; } public void DrawBorder() { sprite.draw(); } public void UpdateBorder() { } } }