예제 #1
0
파일: World.cs 프로젝트: justi1jc/FPS
    /* Creates a new adventure. */
    public void CreateAdventure()
    {
        name = "game";
        map  = Cartographer.GetMap(5, 5);
        MonoBehaviour.print(map.ToString());
        DeployHoloDeck();
        Building b = map.buildings[0];

        decks[0].LoadRoom(b.id, b.rooms[0].name, 0, false);
        decks[0].AddPlayer("player1");
    }
예제 #2
0
    public Cell packedCell;                   // The cell's data to populate or save with.


    public void Start()
    {
        if (saverMode)
        {
            PackCell();
            LoadMaster();
            UpdateMaster();
            SaveMaster();
            if (cascade)
            {
                LoadNextScene();
            }
            else
            {
                print(map.ToString());
            }
        }
    }