C# Class Protogame.SingleContainer

Inheritance: IContainer, IHasDesiredSize
Mostra file Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
GetDesiredHeight ( ISkinLayout skinLayout ) : int?
GetDesiredWidth ( ISkinLayout skinLayout ) : int?
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

GetDesiredHeight() public method

public GetDesiredHeight ( ISkinLayout skinLayout ) : int?
skinLayout ISkinLayout
return int?

GetDesiredWidth() public method

public GetDesiredWidth ( ISkinLayout skinLayout ) : int?
skinLayout ISkinLayout
return int?

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