C# Class Protogame.ScrollableContainer

Inheritance: IContainer
显示文件 Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
HandleEvent ( ISkinLayout skinLayout, Rectangle layout, IGameContext context, Event @event ) : bool
Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
SetChild ( IContainer child ) : void
Update ( ISkinLayout skinLayout, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void

Method Details

HandleEvent() public method

public HandleEvent ( ISkinLayout skinLayout, Rectangle layout, IGameContext context, Event @event ) : bool
skinLayout ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
context IGameContext
@event Event
return bool

Render() public method

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

SetChild() public method

public SetChild ( IContainer child ) : void
child IContainer
return void

Update() public method

public Update ( ISkinLayout skinLayout, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void
skinLayout ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
gameTime Microsoft.Xna.Framework.GameTime
stealFocus bool
return void