예제 #1
0
 public GameData(GameProcess gameProcess)
 {
     GameProcess = gameProcess;
     Player      = new Player();
     MatchInfo   = new MatchInfo();
     Entities    = Enumerable.Range(0, 1024).Select(index => new Entity(index)).ToArray();
     Program.GameConsole.ConsoleRead += NewConsoleOuput;
 }
예제 #2
0
 // Token: 0x060001AF RID: 431 RVA: 0x0000A8FC File Offset: 0x00008AFC
 public GameData(GameProcess gameProcess)
 {
     this.GameProcess = gameProcess;
     this.Player      = new Player();
     this.MatchInfo   = new MatchInfo();
     this.Entities    = (from index in Enumerable.Range(0, 64)
                         select new Entity(index)).ToArray <Entity>();
 }