Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2141,15 +2141,15 @@ class Square : ShapeBase
}
}

Drawable RenderLargeRectangles(Rectangle rectangles)
Drawable RenderLargeRectangles(ShapeBase[] shapes)
{
foreach (rectangle in rectangles)
foreach (shape in shapes)
{
if (rectangle is Square)
if (shape is Square)
{
rectangle.SetLength(5);
}
else if (rectangle is Rectangle)
else if (shape is Rectangle)
{
rectangle.SetWidth(4);
rectangle.SetHeight(5);
Expand Down