Menu

Globals

Benedict Jäggi

Back to [APK_DOTNET_MAUI]

Globals.cs

This file holds stuff which may be used in different projects (apps/games).

enum eChessPieceType

Used for several stuff concerning chess pieces.
Values: NO_PIECE, PAWN, ROOK, BISHOP, KNIGHT, QUEEN, KING

class Globals

Functions which are available globally. All functions are static.

string getChessPieceImagePath(eChessPieceType typ, int player = -1)

Returns the correct path and image name to the embedded images for the given typ and player as string.
Used with GFX.DrawImage. Player must be 0 for white, 1 for black.


Related

Wiki: APK_DOTNET_MAUI