Package pdp.scrabble.game

Examples of pdp.scrabble.game.Rack


     */
    public static void main(String[] args) {
  Bag bag = Factory.FACTORY.createBag();
  bag.initWithLanguage("Francais");
  bag.fill();
  Rack r = new RackImplNew(bag);
  r.fill();
  RackView view = new RackView(r);
  RackController ctrl = new RackController(view);
  JFrame frame = new JFrame("test de Rack");
  frame.add(view);
  view.addMouseListener(ctrl);
View Full Code Here


    return lettres.iterator();
  }

  @Override
  public Rack clone() {
      Rack clone = new RackImplNew(sac);
      for (Letter l : this)
    clone.addLetter(l.clone());
      return clone;
  }
View Full Code Here

TOP

Related Classes of pdp.scrabble.game.Rack

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.