private void ActionGrenade()
        {
            //Gun 21 to 22
            this._State = PlayerState.Grenade;

            if (this.Frame < 21 || this.Frame > 22)
            {
                this.Frame = 21;
            }
            else if (this.Frame == 21)
            {
                this.Frame = 22;

                this.ItemCount--;
                WeaponManagerAccess.CreateWeapon(this.ParentDevice, WeaponType.Grenade, this.X, this.Y, this.Z, this.FaceLeft);
            }
            else
            {
                this.Frame = 29;
                if (this.FaceLeft == true)
                {
                    this.State = PlayerState.StandLeft;
                }
                else
                {
                    this.State = PlayerState.StandRight;
                }
            }

            this.VelocityX = 0.0f;
            this.ApplyNormalGravity();
        }
        private void ActionMine()
        {
            if (this.Frame < 40 || this.Frame > 42)
            {
                this.State = PlayerState.Mine;
                this.Frame = 40;
            }
            else if (this.Frame == 41)
            {
                this.Frame++;
                WeaponManagerAccess.CreateWeapon(this.ParentDevice, WeaponType.Mine, this.X, this.Y, this.Z, this.FaceLeft);
            }
            else if (this.Frame == 42)
            {
                this.Frame = 29;
                if (this.FaceLeft == true)
                {
                    this.State = PlayerState.StandLeft;
                }
                else
                {
                    this.State = PlayerState.StandRight;
                }

                this.ItemCount--;
            }
            else
            {
                this.Frame++;
            }

            this.VelocityX = 0.0f;

            this.ApplyNormalGravity();
        }
        private void ActionGun()
        {
            //Gun 18 to 20
            this._State = PlayerState.Shoot;

            if (this.Frame < 18 || this.Frame > 20)
            {
                this.Frame = 18;
            }
            else if (this.Frame == 20)
            {
                this.Frame = 29;
                if (this.FaceLeft == true)
                {
                    this.State = PlayerState.StandLeft;
                }
                else
                {
                    this.State = PlayerState.StandRight;
                }

                this.ItemCount--;
            }
            else
            {
                this.Frame++;
                if (this.Frame == 19)
                {
                    WeaponManagerAccess.CreateWeapon(this.ParentDevice, WeaponType.Bullet, this.X, this.Y, this.Z, this.FaceLeft);
                    this.Sounds.PlayGunShot();
                }
            }

            this.VelocityX = 0.0f;

            this.ApplyNormalGravity();
        }