C# Class pdachess.Token

Mostrar archivo Open project: tuxoko/pdachess Class Usage Examples

Protected Properties

Property Type Description
img_l Image
po_x int
side string

Public Methods

Method 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 method

public Clone ( ) : object
return object

Token() public method

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
return System

draw() public method

public draw ( Graphics g ) : void
g System.Drawing.Graphics
return void

draw() public method

public draw ( Graphics g, string param ) : void
g System.Drawing.Graphics
param string
return void

getSide() public method

public getSide ( ) : string
return string

getType() public method

public getType ( ) : string
return string

getX() public method

public getX ( ) : int
return int

getY() public method

public getY ( ) : int
return int

isFirstmove() public method

public isFirstmove ( ) : bool
return bool

isHere() public method

public isHere ( int x, int y ) : bool
x int
y int
return bool

setmove() public method

public setmove ( int x, int y ) : void
x int
y int
return void

Property Details

img_l protected_oe property

protected Image img_l
return Image

po_x protected_oe property

protected int po_x
return int

side protected_oe property

protected string side
return string