コード例 #1
0
        public override void Dx()
        {
            base.Dx();

            if (this == _current)
            {
                _current = null;
            }
        }
コード例 #2
0
        public Pax4ActorPlayerAmmoLava(String p_name, Pax4Object p_parent0, int p_modelIndex = -1)
            : base(p_name, p_parent0)
        {
            SetScale(_scaleFactor * Vector3.One);

            _actorElementType = EActorType._LAVA;

            if (p_modelIndex < 0)
            {
                SetModel("Model/lavaandiceAmmoLava");
            }

            _current = this;
            _wayPointController.SetPhysicsPart(this);

            SetPowerUp(_powerUp);
            _powerUp = EActorPowerUp._NORMAL;

            MoveTo(Vector3.Zero, _prelaunchPosition + Vector3.Down * _scaleFactor * 2.0f);

            Enable();
        }