Jump to content

  • Log In with Google      Sign In   
  • Create Account


Dace

Member Since 15 Jan 2011
Offline Last Active Apr 10 2011 01:25 AM

Topics I've Started

what is a 'Sealed partial class'

01 February 2011 - 01:29 AM

As i am implementing the FPS game component, i have added a blank GameComponent to my project, but its definition is slightly different to the one in the book.

public sealed partial class FPS : Microsoft.Xna.Framework.DrawableGameComponent

as opposed to the one that Visual studio creates for me:

public class FPS : Microsoft.Xna.Framework.DrawableGameComponent

The classes methods are also marked as sealed, Eg
public sealed override void Draw(GameTime gameTime) { }

So my question is what exactly is a "sealed partial class"?


Cheers all

PARTNERS