public PlayerCharacter(Texture2D drawing, Vector2 position, Tile currentTile)
     : base(drawing, position, currentTile)
 {
     unleashed = false;
     powerUpInStore = null;
     ResetLives();
     baseSpeed = 4;
     Speed = baseSpeed;
     goalCollected = 0;
     looksScary = false;
 }
        public void ActivatePowerup()
        {
            if (powerUpInStore != null)
            {
                switch (((Powerup)powerUpInStore).Type)
                {
                    case Powerup.PowerupType.SPEEDBOOST:
                        Speed = 8;
                        NotifyAllObservers(NotifyReason.SPEEDBOOST_ACTIVATED);
                        powerUpInStore = null;
                        break;

                    case Powerup.PowerupType.PLAYERTRAP:
                        NotifyAllObservers(NotifyReason.PLAYERTRAP_ACTIVATED);
                        powerUpInStore = null;
                        break;

                    case Powerup.PowerupType.TOY_PISTOL:
                        drawing = DespicableGame.GetTexture(DespicableGame.GameTextures.SCARY_GRU);
                        looksScary = true;
                        powerUpInStore = null;
                        break;
                }
            }
        }