summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/source/MonoGame.Extended.Entities/Systems/UpdateSystem.cs
blob: e85c9648db91a39efe37d01faecd668470e15e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using Microsoft.Xna.Framework;

namespace MonoGame.Extended.Entities.Systems
{
    public interface IUpdateSystem : ISystem
    {
        void Update(GameTime gameTime);
    }

    public abstract class UpdateSystem : IUpdateSystem
    {
        public virtual void Dispose() { }
        public virtual void Initialize(World world) { }
        public abstract void Update(GameTime gameTime);
    }
}