示例#1
0
 public InfoSave(string version, string name, int seed, int sizeX, int sizeY, int sizeZ, World.Difficulty difficulty, string lastPlayed)
 {
     this.version    = version;
     this.name       = name;
     this.seed       = seed;
     this.sizeX      = sizeX;
     this.sizeY      = sizeY;
     this.sizeZ      = sizeZ;
     this.difficulty = difficulty;
     this.lastPlayed = lastPlayed;
 }
示例#2
0
        public RoundGovernor(bool isRunning, ref List <ThinkingObject> arrayOfObjectInGame,
                             Graphics g, World world, Graph graph, World.Difficulty difficultyOfRound)
        {
            running = isRunning;

            this.g                 = g;
            this.world             = world;
            this.graph             = graph;
            this.difficultyOfRound = difficultyOfRound;

            arrayOfObject = arrayOfObjectInGame;

            myCollection = ArrayList.Synchronized(arrayOfObject);

            setParameters();
        }