C# 클래스 MoodSwingGUI.MSGUIClickable

MSGUIClickable is a GUI component that is both drawable and clickable
상속: MoodSwingCoreComponents.MS2DClickable, MSGUIObject
파일 보기 프로젝트 열기: verngutz/MoodSwing 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
toolTip MSToolTip

공개 메소드들

메소드 설명
Hover ( ) : void

What to do when this MSGUIClickable has been hovered.

LeftClick ( ) : void

What to do when this MSGUIClickable has been left-clicked.

MSGUIClickable ( Rectangle boundingRectangle, Shape shape, MSToolTip toolTip, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MiddleClick ( ) : void

What to do when this MSGUIClickable has been middle-clicked.

RightClick ( ) : void

What to do when this MSGUIClickable has been right-clicked.

UnHover ( ) : void

What to do when this MSGUIClickable has previously been hovered but now isn't.

UnLeftClick ( ) : void

What to do when this MSGUIClickable has previously been left-clicked and is now released.

UnMiddleClick ( ) : void

What to do when this MSGUIClickable has previously been middle-clicked and is now released.

UnRightClick ( ) : void

What to do when this MSGUIClickable has previously been right-clicked and is now released.

메소드 상세

Hover() 공개 추상적인 메소드

What to do when this MSGUIClickable has been hovered.
public abstract Hover ( ) : void
리턴 void

LeftClick() 공개 추상적인 메소드

What to do when this MSGUIClickable has been left-clicked.
public abstract LeftClick ( ) : void
리턴 void

MSGUIClickable() 공개 메소드

public MSGUIClickable ( Rectangle boundingRectangle, Shape shape, MSToolTip toolTip, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
boundingRectangle Microsoft.Xna.Framework.Rectangle
shape Shape
toolTip MSToolTip
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
리턴 System

MiddleClick() 공개 추상적인 메소드

What to do when this MSGUIClickable has been middle-clicked.
public abstract MiddleClick ( ) : void
리턴 void

RightClick() 공개 추상적인 메소드

What to do when this MSGUIClickable has been right-clicked.
public abstract RightClick ( ) : void
리턴 void

UnHover() 공개 추상적인 메소드

What to do when this MSGUIClickable has previously been hovered but now isn't.
public abstract UnHover ( ) : void
리턴 void

UnLeftClick() 공개 추상적인 메소드

What to do when this MSGUIClickable has previously been left-clicked and is now released.
public abstract UnLeftClick ( ) : void
리턴 void

UnMiddleClick() 공개 추상적인 메소드

What to do when this MSGUIClickable has previously been middle-clicked and is now released.
public abstract UnMiddleClick ( ) : void
리턴 void

UnRightClick() 공개 추상적인 메소드

What to do when this MSGUIClickable has previously been right-clicked and is now released.
public abstract UnRightClick ( ) : void
리턴 void

프로퍼티 상세

toolTip 보호되어 있는 프로퍼티

protected MSToolTip,MoodSwingGUI toolTip
리턴 MSToolTip