public UI(UITemplate template, SpriteBatch spriteBatch, PlayerEntity playerEntity) { this.Template = template; this.spriteBatch = spriteBatch; this.PlayerEntity = playerEntity; }