jpfed / Adrift

You are a space pilot lost in an endless maze of extraterrestrial caverns. Can you find your way home?
http://www.ludumdare.com/compo/author/jpfed/
2 stars 3 forks source link

OO: Attributes #9

Closed jpfed closed 14 years ago

jpfed commented 14 years ago

Right now, we determine whether AisInstanceOfB by walking A's .class and .super table members, looking for B. But we should also have something like AhasAttributeB, which just scans A's .attributes table for B; mixin should append .attribute tables rather than overwriting like it does now.