コード例 #1
0
        void ExecuteShot()
        {
            IShot shotInBuffer = thisShootingManager.GetShotInBuffer();

            if (shotInBuffer != null)
            {
                IArrow arrow = shotInBuffer.GetArrow();
                arrow.StartFlight();
                thisShootingManager.ClearShotBuffer();
            }
            else
            {
                this.Expire();
            }
        }