Worked on issue #993: Partly solved. DrawOrder is still open...
This commit is contained in:
parent
431fc9d8c1
commit
694b1a6810
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||||
// übernehmen, indem Sie "*" eingeben:
|
// übernehmen, indem Sie "*" eingeben:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.1.*")]
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
[assembly: AssemblyFileVersion("1.0.1.0")]
|
||||||
|
@ -35,7 +35,7 @@ namespace ANX.Framework
|
|||||||
base.Clear();
|
base.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void InsertItem(int index, IGameComponent item)
|
protected new void InsertItem(int index, IGameComponent item)
|
||||||
{
|
{
|
||||||
if (item == null)
|
if (item == null)
|
||||||
throw new ArgumentNullException("item");
|
throw new ArgumentNullException("item");
|
||||||
@ -44,7 +44,7 @@ namespace ANX.Framework
|
|||||||
OnComponentAdded(item);
|
OnComponentAdded(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void RemoveItem(int index)
|
protected new void RemoveItem(int index)
|
||||||
{
|
{
|
||||||
IGameComponent component = base[index];
|
IGameComponent component = base[index];
|
||||||
base.Remove(component);
|
base.Remove(component);
|
||||||
|
@ -13,6 +13,21 @@ using ANX.Framework.Input;
|
|||||||
|
|
||||||
namespace WindowsGame1
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is the main type for your game
|
/// This is the main type for your game
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -57,6 +72,8 @@ namespace WindowsGame1
|
|||||||
protected override void Initialize()
|
protected override void Initialize()
|
||||||
{
|
{
|
||||||
base.Initialize();
|
base.Initialize();
|
||||||
|
|
||||||
|
Components.Add(new GameComponentTest(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user