C# 클래스 Protogame.MenuItem

The menu item.
상속: IContainer
파일 보기 프로젝트 열기: RedpointGames/Protogame 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Items List

공개 메소드들

메소드 설명
AddChild ( MenuItem item ) : void
GetActiveChildrenLayouts ( ISkinLayout skin, Rectangle layout ) : IEnumerable
GetMenuChildren ( ISkinLayout skin, Rectangle layout ) : Rectangle>>.IEnumerable
GetMenuListLayout ( ISkinLayout skin, Rectangle layout ) : Rectangle?
HandleEvent ( ISkinLayout skin, Rectangle layout, IGameContext context, Event @event ) : bool
MenuItem ( ) : System
Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
Update ( ISkinLayout skin, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void

메소드 상세

AddChild() 공개 메소드

public AddChild ( MenuItem item ) : void
item MenuItem
리턴 void

GetActiveChildrenLayouts() 공개 메소드

public GetActiveChildrenLayouts ( ISkinLayout skin, Rectangle layout ) : IEnumerable
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
리턴 IEnumerable

GetMenuChildren() 공개 메소드

public GetMenuChildren ( ISkinLayout skin, Rectangle layout ) : Rectangle>>.IEnumerable
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
리턴 Rectangle>>.IEnumerable

GetMenuListLayout() 공개 메소드

public GetMenuListLayout ( ISkinLayout skin, Rectangle layout ) : Rectangle?
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
리턴 Rectangle?

HandleEvent() 공개 메소드

public HandleEvent ( ISkinLayout skin, Rectangle layout, IGameContext context, Event @event ) : bool
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
context IGameContext
@event Event
리턴 bool

MenuItem() 공개 메소드

public MenuItem ( ) : System
리턴 System

Render() 공개 메소드

public Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
context IRenderContext
skinLayout ISkinLayout
skinDelegator ISkinDelegator
layout Microsoft.Xna.Framework.Rectangle
리턴 void

Update() 공개 메소드

public Update ( ISkinLayout skin, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
gameTime Microsoft.Xna.Framework.GameTime
stealFocus bool
리턴 void

프로퍼티 상세

Items 보호되어 있는 프로퍼티

protected List Items
리턴 List