Module gomoku::display::draw [] [src]

Reexports

extern crate std;
extern crate piston;
extern crate graphics;
extern crate sdl2_window;
use std::prelude::v1::*;
use self::graphics::Context;
use self::graphics::Graphics;
use self::graphics::types::Color;
use self::graphics::draw_state::DrawState;
use self::piston::window::Size;
use board::Tile;
use board::GoBoard;

Constants

BLACK
BORDER_SIZE
ORANGE
OVER
WHITE

Functions

draw_border_color

The draw_border_color function removes the border grid.

draw_help

The draw_over function draws the help tile.

draw_line_color

The draw_line_color function draws a cell line.

draw_over

The draw_over function draws the over tile.

draw_render

The draw_render function draws the grid!

draw_tile_color

The draw_tile_color function draws a tile according to a coordinate, dimension and color.