11.18 breakOut 초기화> protected override void Initialize() { // Remember resolution width = graphics.GraphicsDevice.Viewport.Width; height = graphics.GraphicsDevice.Viewport.Height; // Init all blocks, set positions and bounding boxes for (int y = 0; y < NumOfRows; y++) for (int x = 0; x < NumOfColumns; x++) { blockPositions[x, y] = new Vector2( 0.05f + 0.9f * x / (float)(NumOfColumns - 1), 0.066f + 0.5f * y / (.. 더보기 이전 1 ··· 110 111 112 113 114 115 116 ··· 151 다음