Esempio n. 1
0
    public void InitiatePolicePos()
    {
        PoliceInfo[] tempInitialPolices   = policeAI.InitialPolicePos((TileType[, ])baseMap.Clone());
        Vector2[]    tempInitialTreasures = policeAI.InitialTreasurePos((TileType[, ])baseMap.Clone());

        if (mapManager.CheckInitialPolicePossible(tempInitialPolices) && mapManager.CheckInitialTreasurePossible(tempInitialTreasures, tempInitialPolices))
        {
            initialPolices   = tempInitialPolices;
            initialTreasures = tempInitialTreasures;
        }
    }