In Lecture 2 when the LevelMaker class was updated,there was a code on line 87 which consisted of b = Brick(...) what is the Brick here? (I know Brick is a class but in the LevelMaker class we didnt made an object of that class)


1 Answer 1


b = Brick(...) create new instance of Brick class. Then we add this instance to our table using table.insert(bricks, b)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .