public override void Update(double deltaTime) { base.Update(deltaTime); background.parallax += new Vector2f(0.5f, 0.5f); background.Update(backgroundClock.ElapsedTime.AsSeconds()); camera.Update(deltaTime); }
public override void Update(double deltaTime) { background.Update(deltaTime); background.position = player.position; background.parallax = player.position; player.targets.Add(testNPC2.collider); testNPC2.playerPosition = player.position; base.Update(deltaTime); }