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