C# Class GR.Gambling.Backgammon.Utils.GameStateRenderer

ファイルを表示 Open project: alexhanh/Botting-Library Class Usage Examples

Public Methods

Method Description
GameStateRenderer ( ) : System
Render ( GameState gamestate ) : Bitmap
Render ( int player, GameState gamestate ) : Bitmap

Renders relative to the player's perspective.

Render ( int player, int width, int height, GameState gamestate, List &bounding_chequers ) : Bitmap

Private Methods

Method Description
CreateDie ( int number, int length, Brush text_brush, Brush bg_brush ) : Bitmap

Method Details

GameStateRenderer() public method

public GameStateRenderer ( ) : System
return System

Render() public static method

public static Render ( GameState gamestate ) : Bitmap
gamestate GR.Gambling.Backgammon.GameState
return System.Drawing.Bitmap

Render() public static method

Renders relative to the player's perspective.
public static Render ( int player, GameState gamestate ) : Bitmap
player int
gamestate GR.Gambling.Backgammon.GameState
return System.Drawing.Bitmap

Render() public static method

public static Render ( int player, int width, int height, GameState gamestate, List &bounding_chequers ) : Bitmap
player int
width int
height int
gamestate GR.Gambling.Backgammon.GameState
bounding_chequers List
return System.Drawing.Bitmap