예제 #1
0
 public override void spawnChilds()
 {
     for (int i = 0; i < 5; i++)
     {
         ImmortalStarfishChildMinion_Fast child = new ImmortalStarfishChildMinion_Fast(position.board.player.game, ownerPlayer);
         position.board.AddMinionSpecificPosition(child, position.pathPosition, false);
         child.moveCustomDistance(0.2f * (i - 3));
         // burada bir sikinti var. minion kopyalanmadan pozisyon degistirme bilgisi gonderiliyor client'e. Client da ignore;luyor.
         Messages.OutgoingMessages.Game.GCopyMinionResult.sendMessage(position.board.player.game.players, child);
     }
 }
        public override void spawnChilds()
        {
            for (int i = 0; i < 5; i++)
            {
                ImmortalStarfishChildMinion_Fast child = new ImmortalStarfishChildMinion_Fast(position.board.player.game, ownerPlayer);
                position.board.AddMinionSpecificPosition(child, position.pathPosition, false);
                child.moveCustomDistance(0.2f * (i - 3));
                // burada bir sikinti var. minion kopyalanmadan pozisyon degistirme bilgisi gonderiliyor client'e. Client da ignore;luyor.
                Messages.OutgoingMessages.Game.GCopyMinionResult.sendMessage(position.board.player.game.players, child);

            }
        }