4 ms·
> his physical dimensions, his velocity, consumed power ups and so on. Aren't his physical dimensions just attributes of the Mario instance (or class definitio
by airstrike 6y ago
> his physical dimensions, his velocity, consumed power ups and so on.
Aren't his physical dimensions just attributes of the Mario instance (or class definition)?
Similarly, his velocity, consumed power ups and so on can all be attributes of the stage he's in. His extra lives can be an attribute of this current game session.
- dgb23 6y agoMario‘s attributes are a composite of different measurements that are partly needed in different contexts of the simulation. They are just data. And like any data we should be able to query it without knowing Mario‘s special access pattern.