private void PerformCollisionAction()
        {
            var           targets = TargetsManager.CreateTargets();
            PlayerManager player  = PlayerManager.CreatePlayerManager();
            int           row     = CollisionManager.GetCollisionManager().RowNumber;
            int           column  = CollisionManager.GetCollisionManager().ColumnNumber;

            Destroy(row, column, targets, player);
        }
        public void PlayerUpdate()
        {
            var          targets = TargetsManager.CreateTargets().MoodieList;
            StickManager stick   = StickManager.GetStick();
            double       yAngle  = Math.Sin(stick.rotationAngle - Math.PI / 2);
            double       xAngle  = Math.Cos(stick.rotationAngle - Math.PI / 2);

            if (!isWall() && !_wall)
            {
                SetPlayerX((int)((GetPlayerX()) + (25 * xAngle)));
                SetPlayerY((int)((GetPlayerY()) + (25 * yAngle)));
            }
            else
            {
                SetPlayerX((int)((GetPlayerX()) - (25 * xAngle)));
                SetPlayerY((int)((GetPlayerY()) + (25 * yAngle)));
            }
            if (targets[targets.Count - 1][0].GetYCoordinate() >= GetPlayerY() - 36)
            {
                CollisionManager.GetCollisionManager().HandleCollision();
            }
        }
 public void Update()
 {
     CollisionManager.GetCollisionManager().AddTargets();
     EventBroadcaster.GetBroadcaster().ChangeEvent(new PlayerOnStickState(), false);
 }