예제 #1
0
    public override void BeforeUpdate()
    {
        GameCommand.Reset();
        GameCommand.BuyDrone((int)(GameData.Instance.myPlatinium / 20f), 1);



        //GameData game = GameData.Instance;
        //if (game.frame == 3)
        //{
        //    Queue<int> queue = AllWaysGoToRome.GetPath(game.myFlagLocalisation, game.enemyFlagLocalisation);
        //    if (queue.Count > 3)
        //        for (int i = 1; i < 4; i++)
        //        {
        //            Zone z = Zone.Get(queue.Dequeue());
        //            z.data.isBlockadePoint = true;
        //        }
        //}
        //foreach (Zone z in Zone.GetZones())
        //    Debug.DebugLog(z.data.ToString());
        //foreach (Zone z in Zone.GetZones())
        //    if (z.data.isBlockadePoint)
        //        Debug.DebugLog("Z " + z.id + ":" + z.data.ToString());
        //  }
    }
예제 #2
0
    public override void BeforeUpdate()
    {
        GameCommand.Reset();
        GameCommand.BuyDrone((int)(GameData.Instance.myPlatinium / 20f), 1);

        //foreach(Zone z in Zone.GetZones())
        //if(z.data.visible)
        //     Debug.DebugLog("Z "+z.id+":"+z.data.ToString());
    }