Ejemplo n.º 1
0
        private void OnClear(object sender, ClearReceiveEvent e)
        {
            this.RoomWidth = e.RoomWidth;
            this.RoomHeight = e.RoomHeight;
            this.Events.Raise(new ResizeWorldEvent(e.RoomHeight, e.RoomWidth));

            this._blocks = GetEmptyWorld(this.RoomWidth, this.RoomHeight, e.FillBlock, e.BorderBlock);
        }
Ejemplo n.º 2
0
 private void OnClear(object sender, ClearReceiveEvent e)
 {
     this.Reset(e.RoomWidth, e.RoomHeight);
 }