C# 클래스 SunsetHigh.Panel

상속: PopInOutSprite
파일 보기 프로젝트 열기: ErraticUnicorn/MOSH 1 사용 예제들

공개 메소드들

메소드 설명
Panel ( ) : System
Panel ( int x, int y, int width, int height ) : System
draw ( SpriteBatch sb ) : void
getXMargin ( ) : int
getYMargin ( ) : int
isHighlighted ( ) : bool
isPanelBackgroundVisible ( ) : bool
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
onConfirm ( ) : void

Invoked when the user types the "Action" or "Confirm" key

onEnter ( ) : void

Invoked when this panel has entered the user's view

onExit ( ) : void

Invoked when this panel is exiting the user's view

onFocus ( ) : void

Invoked when this panel now has focus (i.e. user is navigating this panel)

onKeyInput ( Keys key ) : bool

Invoked when the user types any key

onMoveCursor ( Direction dir ) : void

Invoked when the user types a directional key

onRefocus ( ) : void

Invoked when a newer panel has been unfocused, bringing the focus back to this panel

onUnfocus ( ) : void

Invoked when another panel now has the focus (but this panel may still be in view)

setHighlighted ( bool highlighted ) : void
setPanelBackgroundVisible ( bool visible ) : void
setXMargin ( int margin ) : void
setYMargin ( int margin ) : void

메소드 상세

Panel() 공개 메소드

public Panel ( ) : System
리턴 System

Panel() 공개 메소드

public Panel ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
리턴 System

draw() 공개 메소드

public draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

getXMargin() 공개 메소드

public getXMargin ( ) : int
리턴 int

getYMargin() 공개 메소드

public getYMargin ( ) : int
리턴 int

isHighlighted() 공개 메소드

public isHighlighted ( ) : bool
리턴 bool

isPanelBackgroundVisible() 공개 메소드

public isPanelBackgroundVisible ( ) : bool
리턴 bool

loadContent() 공개 메소드

public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

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

Invoked when the user types the "Action" or "Confirm" key
public abstract onConfirm ( ) : void
리턴 void

onEnter() 공개 메소드

Invoked when this panel has entered the user's view
public onEnter ( ) : void
리턴 void

onExit() 공개 메소드

Invoked when this panel is exiting the user's view
public onExit ( ) : void
리턴 void

onFocus() 공개 메소드

Invoked when this panel now has focus (i.e. user is navigating this panel)
public onFocus ( ) : void
리턴 void

onKeyInput() 공개 메소드

Invoked when the user types any key
public onKeyInput ( Keys key ) : bool
key Keys The key
리턴 bool

onMoveCursor() 공개 메소드

Invoked when the user types a directional key
public onMoveCursor ( Direction dir ) : void
dir Direction The direction
리턴 void

onRefocus() 공개 메소드

Invoked when a newer panel has been unfocused, bringing the focus back to this panel
public onRefocus ( ) : void
리턴 void

onUnfocus() 공개 메소드

Invoked when another panel now has the focus (but this panel may still be in view)
public onUnfocus ( ) : void
리턴 void

setHighlighted() 공개 메소드

public setHighlighted ( bool highlighted ) : void
highlighted bool
리턴 void

setPanelBackgroundVisible() 공개 메소드

public setPanelBackgroundVisible ( bool visible ) : void
visible bool
리턴 void

setXMargin() 공개 메소드

public setXMargin ( int margin ) : void
margin int
리턴 void

setYMargin() 공개 메소드

public setYMargin ( int margin ) : void
margin int
리턴 void