aaronvark / PeerReview1819

Repo for peer review assignments for year 2 development class of 18/19
0 stars 0 forks source link

re #16, Changed EVERYTHING (kinda) #52

Closed loljoch closed 4 years ago

loljoch commented 4 years ago

re #16, I have yet to make an UML (which should go first I know), but I removed the mainblock. So now I create a grid and choose a coordinate which acts like the shape, this way I never have a mainblock and a block script on the same object.

I also updated the grid class like the feedback said and I updated the shapecode so that it works with diagonal blocks (blocks positioned diagonally from the mainblock), the only problem is that is looks like some pretty bad code since it has 8 for-loops, but I do not yet see a way to shorten it.