//TODO: remove this protected HexagonView(float edge, PointF center) { Hexagon = new Hexagon(edge, center); HexagonStyle = new HexagonStyle(Color.White, Color.Black, 0.01f); InitializeVertices(); }
public GameView(Game game, HexagonStyle fieldHexagonStyle, HexagonStyle tilesHexagonStyle) { this.game = game; this.fieldHexagonStyle = fieldHexagonStyle; this.tilesHexagonStyle = tilesHexagonStyle; this.selectedTileStyle = new HexagonStyle(Color.DeepSkyBlue, Color.Gray, 0.03f); }
public HexagonView(float edge, PointF center, HexagonStyle style) : this(edge, center) { HexagonStyle = style; }
public TileView(Tile tile, float edge, PointF center, HexagonStyle style) : this(tile, edge, center) { HexagonStyle = style; }