attributes

Arbitrary attributes, specific to your game.

For example, imagine a game where you control various spaceships. All spaceships are controlled by a Spaceship Behaviour, but there are different types, some big, some small, and we need to set the maximum speed for each type.

Create image(s) for a big spaceship, and a Role (called BigSpaceship) and add the max-speed in these attributes. Do the same for SmallSpaceship etc.

Note. Role attributes work at a different level than Behaviour's @Attribute annotations. These attributes should be used for each spaceship type, whereas @Attribute should be used for a specific spaceship.