C# 클래스 personal_training_martial_arts.Core.Button

파일 보기 프로젝트 열기: joseruizjimenez/personal-training-martial-arts 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
name string
rectangle Microsoft.Xna.Framework.Rectangle
state BState

공개 메소드들

메소드 설명
Button ( String name, int x, int y, int width, int height ) : System
justPushed ( ) : System.Boolean
updateState ( ) : BState

비공개 메소드들

메소드 설명
hit_button ( Rectangle button, int mx, int my ) : System.Boolean

메소드 상세

Button() 공개 메소드

public Button ( String name, int x, int y, int width, int height ) : System
name String
x int
y int
width int
height int
리턴 System

justPushed() 공개 메소드

public justPushed ( ) : System.Boolean
리턴 System.Boolean

updateState() 공개 메소드

public updateState ( ) : BState
리턴 BState

프로퍼티 상세

name 공개적으로 프로퍼티

public string name
리턴 string

rectangle 공개적으로 프로퍼티

public Rectangle,Microsoft.Xna.Framework rectangle
리턴 Microsoft.Xna.Framework.Rectangle

state 공개적으로 프로퍼티

public BState state
리턴 BState