자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private void CheckForCollision() { Coordinate movedPosition = snake.GetHeadPosition(); Cell collidedCell = grid.GetGridCell(movedPosition); if (collidedCell.CellType != CellType.Empty) { HandleCollision(collidedCell); } }