Exemplo n.º 1
0
 public Moves(Player _player, Nest _prevtnest, Jar _jar, Checker checker)
 {
     this.player = _player;
     this.jar = _jar;
     this.prevnest = _prevtnest;
     this.checker = checker;
 }
Exemplo n.º 2
0
 public Moves(Player _player, Nest _prevtnest, Jar _jar, Checker checker)
 {
     this.player   = _player;
     this.jar      = _jar;
     this.prevnest = _prevtnest;
     this.checker  = checker;
 }
Exemplo n.º 3
0
        public List<Jar> addJars()
        {
            for (int i = 0; i < 2; i++)
            {
                Jar jar;
                int jar_x = (int)this.boardLocation.X + this.width + 130;
                if(i == 0)
                    jar = new Jar(jar_x, 25, true);
                else
                    jar = new Jar(jar_x, 338, false);

                this.jars.Add(jar);
            }
            return this.jars;
        }
Exemplo n.º 4
0
        public List <Jar> addJars()
        {
            for (int i = 0; i < 2; i++)
            {
                Jar jar;
                int jar_x = (int)this.boardLocation.X + this.width + 130;
                if (i == 0)
                {
                    jar = new Jar(jar_x, 25, true);
                }
                else
                {
                    jar = new Jar(jar_x, 338, false);
                }

                this.jars.Add(jar);
            }
            return(this.jars);
        }