C# Class Protogame.CanvasFragment

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

Public Methods

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

Method Details

HandleEvent() public method

public HandleEvent ( ISkinLayout skin, Rectangle layout, IGameContext context, Event @event ) : bool
skin 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 skin, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
gameTime Microsoft.Xna.Framework.GameTime
stealFocus bool
return void