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