public MemoryBlock() { cells = new MemoryCell[GameManager.gameOptions.memoryCellCount]; for (int i = 0; i < cells.Length; i++) { SetContent(i, AlphaNumeral.RandomDouble()); } }
// STATIC public static double GenerateId() { double id; do { id = AlphaNumeral.RandomDouble(0, int.MaxValue); } while(GameManager.GetConsoles().ContainsKey(id)); return(id); }