So I have a superclass called Tile and many subclasses like BlueTile, GreenTile etc..
All instances of the different subclasses are stored in an ArrayList (eg. (blueTile1, blueTile2, greenTile1....)).
There is a method called "activateTile()" in the superclass, that all subclasses use in a different way.
Now when I loop trough the array and activate all blue Tiles with blueTile.activateTile() they will be activated one after another right?
How can I let all blueTiles in the Array call the method at the same time? Or is there a way to simply say "all instances of that class, do that method now"?
Thank you :)