I'm working on a project and have encountered a bit of a predicament. I am converting a game I created in python to Arduino code and in the python code I store an object within an array. I was wondering if there is a way of doing the same in Arduino.
Python code -> self.blocks*= Block(blockCOL, blockROW, blockCLR)* Arduino code (that doesn't work) -> Block blocker(blockCOL,blockROW,clr); _blocks = {blocker}; Basically I want to be able to store the object created from the Block class within an array. Any help would be greatly appreciated. Thanks