public static void Initialize()
        {
            bar = new LoadingBar(new Vector2(200, 100));

            bar.size = new Point(250, 30);
            barValue = new Vector2(bar.size.X / 2, bar.size.Y);
            bar.position = new Vector2(800 / 2 - bar.size.X / 2, 10);
        }
 public ComputerBehavior(ContentManager content)
 {
     this.content = content;
     loadingBar = new LoadingBar(new Vector2(10,55));
     delays = new float[]
     {
         CharacterBalance.mariaDelay,
         CharacterBalance.luizDelay
     };
 }
        public override void LoadContent(ContentManager content)
        {
            COMPUTER = new ComputerBehavior(content);

            Bar.Initialize();

            base.LoadContent(content);
            this.background = new Background(new Vector2(0, 0), content.Load<Texture2D>("Images//russia"), new Point(800,600));

            barUser = new LoadingBar(new Vector2(648, 55));

            btMariaAntonieta = new Button(new Vector2(28 - 17, 9), new Point(40, 40),
                content.Load<Texture2D>("Botoes//bt_mantonieta"),
                content.Load<Texture2D>("Botoes//bthover_mantonieta"));
            btMariaAntonieta.displayer.SetString("Maria Antonieta", CharacterBalance.mariaAttack, CharacterBalance.mariaVelocity, CharacterBalance.mariaHP);

            btLuizXVI = new Button(new Vector2(78 - 17, 9), new Point(40, 40),
                content.Load<Texture2D>("Botoes//bt_luizxvi"),
                content.Load<Texture2D>("Botoes//bthover_luizxvi"));
            btLuizXVI.displayer.SetString("Luiz XVI", CharacterBalance.luizAttack, CharacterBalance.luizVelocity, CharacterBalance.luizHP);

            btSoldado_01 = new Button(new Vector2(128 - 17, 9), new Point(40, 40),
                content.Load<Texture2D>("Botoes//bt_soldado_01"),
                content.Load<Texture2D>("Botoes//bthover_soldado_01"));
            btSoldado_01.displayer.SetString("Soldado", CharacterBalance.soldado_01Attack, CharacterBalance.soldado_01Velocity, CharacterBalance.soldado_01HP);

            btGeorgesDanton = new Button(new Vector2(178+470, 9), new Point(40, 40),
                content.Load<Texture2D>("Botoes//bt_danton"),
                content.Load<Texture2D>("Botoes//bthover_danton"));
            btGeorgesDanton.displayer.SetString("Georges Danton", CharacterBalance.dantonAttack, CharacterBalance.dantonVelocity, CharacterBalance.dantonHP);

            btJeanPaulMarat = new Button(new Vector2(228+470, 9), new Point(40, 40),
                content.Load<Texture2D>("Botoes//bt_marat"),
                content.Load<Texture2D>("Botoes//bthover_marat"));
            btJeanPaulMarat.displayer.SetString("Jean Paul Marat", CharacterBalance.maratAttack, CharacterBalance.maratVelocity, CharacterBalance.maratHP);

            btRobespierre = new Button(new Vector2(278 + 470, 9), new Point(40, 40),
                content.Load<Texture2D>("Botoes//bt_robespierre"),
                content.Load<Texture2D>("Botoes//bthover_robespierre"));
            btRobespierre.displayer.SetString("Robespierre", CharacterBalance.robespierreAttack, CharacterBalance.robespierreVelocity, CharacterBalance.robespierreHP);
        }