100:5231da78831e | 101:febf3dc10011 |
---|---|
93 offsetof(AscSceneNode, prev), | 93 offsetof(AscSceneNode, prev), |
94 offsetof(AscSceneNode, next) | 94 offsetof(AscSceneNode, next) |
95 ); | 95 ); |
96 } | 96 } |
97 | 97 |
98 // TODO: rename in asc_node_add_behavior or just asc_add_behavior() | |
98 void asc_scene_add_behavior( | 99 void asc_scene_add_behavior( |
99 AscSceneNode *node, | 100 AscSceneNode *node, |
100 asc_scene_update_func behavior | 101 asc_scene_update_func behavior |
101 ) { | 102 ) { |
102 if (node->behaviors == NULL) { | 103 if (node->behaviors == NULL) { |