C# 클래스 pdachess.Token

파일 보기 프로젝트 열기: tuxoko/pdachess 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
img_l Image
po_x int
side string

공개 메소드들

메소드 설명
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

메소드 상세

Clone() 공개 메소드

public Clone ( ) : object
리턴 object

Token() 공개 메소드

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
리턴 System

draw() 공개 메소드

public draw ( Graphics g ) : void
g System.Drawing.Graphics
리턴 void

draw() 공개 메소드

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

getSide() 공개 메소드

public getSide ( ) : string
리턴 string

getType() 공개 메소드

public getType ( ) : string
리턴 string

getX() 공개 메소드

public getX ( ) : int
리턴 int

getY() 공개 메소드

public getY ( ) : int
리턴 int

isFirstmove() 공개 메소드

public isFirstmove ( ) : bool
리턴 bool

isHere() 공개 메소드

public isHere ( int x, int y ) : bool
x int
y int
리턴 bool

setmove() 공개 메소드

public setmove ( int x, int y ) : void
x int
y int
리턴 void

프로퍼티 상세

img_l 보호되어 있는 프로퍼티

protected Image img_l
리턴 Image

po_x 보호되어 있는 프로퍼티

protected int po_x
리턴 int

side 보호되어 있는 프로퍼티

protected string side
리턴 string