Danmaku_no_Kyojin.BulletEngine.Mover.SetBullet C# (CSharp) Метод

SetBullet() публичный Метод

public SetBullet ( BulletMLNode tree ) : void
tree BulletMLNode
Результат void
        public void SetBullet(BulletMLNode tree)
        {
            InitTop(tree);
        }

Usage Example

Пример #1
0
 private void AddBullet(bool clear)
 {
     if (_bulletPatterns.Count > 0)
     {
         // Add a new bullet in the center of the screen
         _mover = (Mover) _moverManager.CreateBullet();
         _mover.X = Position.X;
         _mover.Y = Position.Y - 5;
         _mover.SetBullet(_bulletPatterns[_currentPatternIndex].RootNode);
     }
 }
All Usage Examples Of Danmaku_no_Kyojin.BulletEngine.Mover::SetBullet