Exemplo n.º 1
0
 public void LoadSystems(GameEngine engine)
 {
     RenderSystem    = new BasicRenderSystem();
     InputSystem     = new InputSystem();
     AnimationSystem = new AnimationSystem(engine);
     TimerSystem     = new TimerSystem(engine);
     MoveSystem      = new MovementSystem(engine);
 }
Exemplo n.º 2
0
 public void UpdateAfter(GameTime gameTime, IDictionary <string, Entity> entities)
 {
     TimerSystem.Update(gameTime);
     AnimationSystem.Update(entities.Values.ToList(), gameTime);
 }