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

Afficher le fichier Open project: alexhanh/Botting-Library Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CreateDie ( int number, int length, Brush text_brush, Brush bg_brush ) : Bitmap

Method Details

GameStateRenderer() public méthode

public GameStateRenderer ( ) : System
Résultat System

Render() public static méthode

public static Render ( GameState gamestate ) : Bitmap
gamestate GR.Gambling.Backgammon.GameState
Résultat System.Drawing.Bitmap

Render() public static méthode

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

Render() public static méthode

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
Résultat System.Drawing.Bitmap