diff --git a/ANX.Framework.TestCenter/Properties/AssemblyInfo.cs b/ANX.Framework.TestCenter/Properties/AssemblyInfo.cs
index 329e096d..f48210d2 100644
--- a/ANX.Framework.TestCenter/Properties/AssemblyInfo.cs
+++ b/ANX.Framework.TestCenter/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("1.0.1.*")]
+[assembly: AssemblyFileVersion("1.0.1.0")]
diff --git a/ANX.Framework/GameComponentCollection.cs b/ANX.Framework/GameComponentCollection.cs
index a3d40e46..803fffb8 100644
--- a/ANX.Framework/GameComponentCollection.cs
+++ b/ANX.Framework/GameComponentCollection.cs
@@ -35,7 +35,7 @@ namespace ANX.Framework
base.Clear();
}
- protected override void InsertItem(int index, IGameComponent item)
+ protected new void InsertItem(int index, IGameComponent item)
{
if (item == null)
throw new ArgumentNullException("item");
@@ -44,7 +44,7 @@ namespace ANX.Framework
OnComponentAdded(item);
}
- protected override void RemoveItem(int index)
+ protected new void RemoveItem(int index)
{
IGameComponent component = base[index];
base.Remove(component);
diff --git a/Samples/SimpleSprite/Game1.cs b/Samples/SimpleSprite/Game1.cs
index 6b68a660..a2a5638e 100644
--- a/Samples/SimpleSprite/Game1.cs
+++ b/Samples/SimpleSprite/Game1.cs
@@ -13,6 +13,21 @@ using ANX.Framework.Input;
namespace WindowsGame1
{
+ public class GameComponentTest : GameComponent
+ {
+ public GameComponentTest(Game game)
+ : base(game)
+ {
+ }
+
+ public override void Update(GameTime gameTime)
+ {
+ //System.Diagnostics.Debugger.Break();
+
+ base.Update(gameTime);
+ }
+ }
+
///
/// This is the main type for your game
///
@@ -57,6 +72,8 @@ namespace WindowsGame1
protected override void Initialize()
{
base.Initialize();
+
+ Components.Add(new GameComponentTest(this));
}
///