private void OnClear(ClearEvent e) { this.World = BlockUtils.GetClearedWorld(e.RoomWidth, e.RoomHeight, e.BorderBlock); new WorldResizeEvent(e.RoomWidth, e.RoomHeight) .RaiseIn(this.BotBits); }
private void OnLoadLevel(LoadLevelEvent e) { this.World = BlockUtils.GetWorld(e.PlayerIOMessage, this.Width, this.Height, 0); }
private void OnInit(InitEvent e) { this.World = BlockUtils.GetWorld(e.PlayerIOMessage, e.RoomWidth, e.RoomHeight); }