supertux
supertux copied to clipboard
Object attributes
Use bitwise operations to create object attributes - instead of using variables and enums.
What are object attributes used for?
What is the idea and how would it be executed? The way I understand it now would make maintenance much harder...
I can't make sense of this. @maxteufel Do you remember what you meant by this?
@tobbi We already have something like this, it is called RegisteredObjectParam: https://github.com/SuperTux/supertux/blob/master/src/supertux/object_factory.hpp#L52. It is used for querying objects by certain parameter.
I'm gonna close this preliminarly. Once OP reappears, we can re-open.
I can't make sense of this either at this point. Keep this closed.