C# Class pdachess.Token

Afficher le fichier Open project: tuxoko/pdachess Class Usage Examples

Protected Properties

Свойство Type Description
img_l Image
po_x int
side string

Méthodes publiques

Méthode Description
Clone ( ) : object
Token ( int x, int y, string side, Image img_l, Image img_d, Image img_l_p, Image img_d_p, Image img_l_s, Image img_d_s ) : System
draw ( Graphics g ) : void
draw ( Graphics g, string param ) : void
getSide ( ) : string
getType ( ) : string
getX ( ) : int
getY ( ) : int
isFirstmove ( ) : bool
isHere ( int x, int y ) : bool
setmove ( int x, int y ) : void

Method Details

Clone() public méthode

public Clone ( ) : object
Résultat object

Token() public méthode

public Token ( int x, int y, string side, Image img_l, Image img_d, Image img_l_p, Image img_d_p, Image img_l_s, Image img_d_s ) : System
x int
y int
side string
img_l Image
img_d Image
img_l_p Image
img_d_p Image
img_l_s Image
img_d_s Image
Résultat System

draw() public méthode

public draw ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

draw() public méthode

public draw ( Graphics g, string param ) : void
g System.Drawing.Graphics
param string
Résultat void

getSide() public méthode

public getSide ( ) : string
Résultat string

getType() public méthode

public getType ( ) : string
Résultat string

getX() public méthode

public getX ( ) : int
Résultat int

getY() public méthode

public getY ( ) : int
Résultat int

isFirstmove() public méthode

public isFirstmove ( ) : bool
Résultat bool

isHere() public méthode

public isHere ( int x, int y ) : bool
x int
y int
Résultat bool

setmove() public méthode

public setmove ( int x, int y ) : void
x int
y int
Résultat void

Property Details

img_l protected_oe property

protected Image img_l
Résultat Image

po_x protected_oe property

protected int po_x
Résultat int

side protected_oe property

protected string side
Résultat string