常用方法
常用方法
常用方法
常用方法
private void PlaceSnakeOnGrid() { foreach (Coordinate snakePos in snake.Positions) { grid.SetGridCellType(snakePos, CellType.Snake); } }
private void PlaceSnakeOnGrid() { foreach (Coordinate snakePos in snake.Positions) { grid.SetGridCellType(snakePos, CellType.Snake); } }