public Tile(Grid parent, TilePos index) : base(parent.Game) { Parent = parent; Context = parent.GenerationContext; Index = index; Offset = index.ToBlockPos(); Centroid = EntityPosition.Create(Index, RealSize * 0.5f); Graphics = new TileGraphics(this); List <ConcurrentQueue <Action> > acts = new List <ConcurrentQueue <Action> >(); foreach (var v in Enum.GetValues(typeof(GenerationStage))) { acts.Add(new ConcurrentQueue <Action>()); } _pendingActions = acts.ToArray(); }