C# 클래스 Camfight.Player

파일 보기 프로젝트 열기: tuxoko/camfight

공개 프로퍼티들

프로퍼티 타입 설명
Big_used bool
x int
y int

보호된 프로퍼티들

프로퍼티 타입 설명
player Image[]

공개 메소드들

메소드 설명
Player ( string type, Image img, Image img_lh, Image img_rh, Image img_left, Image img_left_lh, Image img_left_rh, Image img_right, Image img_right_lh, Image img_right_rh, Image im_idle_1, Image im_idle_2, Image im_idle_3 ) : System
draw ( Graphics g, int state ) : void
drawHead ( Graphics g ) : void
drawLeft ( Graphics g, int px, int py ) : void
drawRight ( Graphics g, int px, int py ) : void
getHurt ( int damage ) : void
isHit ( int sector ) : bool
update ( int sector ) : void

메소드 상세

Player() 공개 메소드

public Player ( string type, Image img, Image img_lh, Image img_rh, Image img_left, Image img_left_lh, Image img_left_rh, Image img_right, Image img_right_lh, Image img_right_rh, Image im_idle_1, Image im_idle_2, Image im_idle_3 ) : System
type string
img Image
img_lh Image
img_rh Image
img_left Image
img_left_lh Image
img_left_rh Image
img_right Image
img_right_lh Image
img_right_rh Image
im_idle_1 Image
im_idle_2 Image
im_idle_3 Image
리턴 System

draw() 공개 메소드

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

drawHead() 공개 메소드

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

drawLeft() 공개 메소드

public drawLeft ( Graphics g, int px, int py ) : void
g System.Drawing.Graphics
px int
py int
리턴 void

drawRight() 공개 메소드

public drawRight ( Graphics g, int px, int py ) : void
g System.Drawing.Graphics
px int
py int
리턴 void

getHurt() 공개 메소드

public getHurt ( int damage ) : void
damage int
리턴 void

isHit() 공개 메소드

public isHit ( int sector ) : bool
sector int
리턴 bool

update() 공개 메소드

public update ( int sector ) : void
sector int
리턴 void

프로퍼티 상세

Big_used 공개적으로 프로퍼티

public bool Big_used
리턴 bool

player 보호되어 있는 프로퍼티

protected Image[] player
리턴 Image[]

x 공개적으로 프로퍼티

public int x
리턴 int

y 공개적으로 프로퍼티

public int y
리턴 int