Original Post
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.
as opposed to the one that Visual studio creates for me:
The classes methods are also marked as sealed, Eg
So my question is what exactly is a "sealed partial class"?
Cheers all
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