Hi all,
I have some experience with all different kinds of languages, but I'm not an expert in any of them, which sometimes brings me in situations like this. Hope you can understand my question..
From HTML / CSS I remember that you can make an object, let's say: a square, and this object can be part of different classes. For example, it can be part of the class 'size-big', which defines the size of the square, or the class 'colour-pink', which defines the colour of the square.
Is something like this possible in Processing? One object acquiring behaviour from different classes?
I am working with an agent-based model, and I would like to give different agents different combinations of behavioral properties. This way I would only need classes for each property, and not for each combination of the properties.
I hope that made sense, please tell me if you need more explanation.
Tessa
1