I want to make something like class in programming.
For example:
There is classes "enemy" and "friend".
All objects which belong to class "friend" (knight, mage, paladin) attack any objects which belong to class "enemy" (dark knight, dark mage etc). Can I do something like this in Construct 2 or I have to make events for all objects?