supertux icon indicating copy to clipboard operation
supertux copied to clipboard

Object attributes

Open maxteufel opened this issue 9 years ago • 2 comments

Use bitwise operations to create object attributes - instead of using variables and enums.

maxteufel avatar Jun 28 '16 18:06 maxteufel

What are object attributes used for?

HybridDog avatar Mar 01 '19 17:03 HybridDog

What is the idea and how would it be executed? The way I understand it now would make maintenance much harder...

Semphriss avatar Jan 24 '22 15:01 Semphriss

I can't make sense of this. @maxteufel Do you remember what you meant by this?

tobbi avatar Oct 06 '23 19:10 tobbi

@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.

mrkubax10 avatar Oct 07 '23 08:10 mrkubax10

I'm gonna close this preliminarly. Once OP reappears, we can re-open.

tobbi avatar Oct 07 '23 11:10 tobbi

I can't make sense of this either at this point. Keep this closed.

maxteufel avatar Oct 09 '23 08:10 maxteufel