Examples of HexagonMap


Examples of com.drakulo.games.ais.ui.component.HexagonMap

  public void initState() throws SlickException {
    this.colonies = new ArrayList<ColonySelector>();
    for (Colony c : GameData.getColonies()) {
      this.colonies.add(new ColonySelector(c, getRootPane()));
    }
    this.map = new HexagonMap(4, 5, 64);

    int x = SIDEBAR_WIDTH + (Settings.WIDTH - SIDEBAR_WIDTH) / 2
        - this.map.getWidth() / 2;
    this.map.setOX(x);
    this.map.setOY(Settings.HEIGHT / 2 - this.map.getHeight() / 2);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.