Package org.darkhelm.dragonchess.client.resources.svg

Examples of org.darkhelm.dragonchess.client.resources.svg.SVGBundle


public class IndexPage implements EntryPoint {

  @Override
  public void onModuleLoad() {
   
    SVGBundle svg = Resources.get().svg();
   
    Piece sBasilisk = new Piece("basilisk", svg.basilisk(), Teams.SILVER);
   
    Piece gBasilisk = new Piece("basilisk", svg.basilisk(), Teams.GOLD);
   
    RootPanel.get().add(sBasilisk.getImage());
    RootPanel.get().add(gBasilisk.getImage());
  }
View Full Code Here

TOP

Related Classes of org.darkhelm.dragonchess.client.resources.svg.SVGBundle

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.