public void ToUpdate(GameTime gameTime)
        {
            EnemyCollisionSystem.GameTime = gameTime;
            InputHandlerSystem.HandleInput(_oldKeyboardState, gameTime);
            _oldKeyboardState = Keyboard.GetState();

            AISystem.Update(gameTime);
            MoveSystem.Move(gameTime);
            AnimationSystem.RunAnimations(gameTime);

            CollisionSystem.DetectCollisions();
            CollisionResolveSystem.ResolveCollisions(ZEngineCollisionEventPresets.StandardCollisionEvents, gameTime);

            CameraFollowSystem.Update(gameTime);
            LightSystems.Update(gameTime, viewportDimensions);
            //HealthSystem.TempEndGameIfDead(TempGameEnder);
            if (TempGameEnder.Score > 0)
            {
                Debug.WriteLine("YOUR SCORE WAS: " + TempGameEnder.Score);
                while (true)
                {
                    ;
                }
            }
        }
    public void HandleInput(float horizontalAxis, float verticalAxis)
    {
        if (horizontalAxis == 0 && verticalAxis == 0)
        {
            PrepearToAttack();
        }

        else
        {
            attack = false;
            moveSystem.Move(new Vector3(horizontalAxis, 0, verticalAxis), moveSpeed);
        }
    }
        private void Update()
        {
            if (canMove)
            {
                float h = Input.GetAxisRaw("Horizontal");

                if (h != 0)
                {
                    Vector2 pickerPosition = _picker.localPosition;
                    pickerPosition.x      = h;
                    _picker.localPosition = pickerPosition;
                }

                moveSystem.Move(new Vector2(h, Input.GetAxis("Vertical")));
            }

            // TODO: Remove this DEBUG
            if (Input.GetMouseButtonDown(0))
            {
                EventManager.Raise(new OnPickableDropEvent());
            }
        }