コード例 #1
0
ファイル: WorldService.cs プロジェクト: KylerM/CupCake
        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
ファイル: UploadService.cs プロジェクト: someone243/CupCake
 private void OnClear(object sender, ClearReceiveEvent e)
 {
     this.Reset(e.RoomWidth, e.RoomHeight);
 }