Exemple #1
0
 public Moves(Player _player, Nest _prevtnest, Jar _jar, Checker checker)
 {
     this.player = _player;
     this.jar = _jar;
     this.prevnest = _prevtnest;
     this.checker = checker;
 }
Exemple #2
0
 public Moves(Player _player, Nest _prevtnest, Jar _jar, Checker checker)
 {
     this.player   = _player;
     this.jar      = _jar;
     this.prevnest = _prevtnest;
     this.checker  = checker;
 }
Exemple #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;
        }
Exemple #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);
        }