anx.framework/ANX.Framework/IUpdateable.cs

28 lines
501 B
C#
Raw Normal View History

2011-10-31 05:36:24 +00:00
using System;
// This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license
2011-10-31 05:36:24 +00:00
namespace ANX.Framework
{
public interface IUpdateable
{
bool Enabled
{
get;
}
2011-10-31 05:36:24 +00:00
int UpdateOrder
{
get;
}
2011-10-31 05:36:24 +00:00
void Update(GameTime gameTime);
2011-10-31 05:36:24 +00:00
event EventHandler<EventArgs> EnabledChanged;
2011-10-31 05:36:24 +00:00
event EventHandler<EventArgs> UpdateOrderChanged;
}
2011-10-31 05:36:24 +00:00
}