예제 #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);
        }
예제 #2
0
 private void OnClear(object sender, ClearReceiveEvent e)
 {
     this.Reset(e.RoomWidth, e.RoomHeight);
 }