src/ascension/behavior.h

changeset 112
3e956c96dd6c
parent 111
ee4b58dfcf7f
equal deleted inserted replaced
111:ee4b58dfcf7f 112:3e956c96dd6c
39 struct asc_behavior_s { 39 struct asc_behavior_s {
40 asc_behavior_func func; 40 asc_behavior_func func;
41 asc_behavior_destroy_func destroy_func; 41 asc_behavior_destroy_func destroy_func;
42 AscSceneNode *node; 42 AscSceneNode *node;
43 void *data; 43 void *data;
44 bool enabled;
44 // TODO: more useful attributes, e.g. timing settings 45 // TODO: more useful attributes, e.g. timing settings
45 }; 46 };
46 47
47 struct asc_behavior_create_args { 48 struct asc_behavior_create_args {
48 asc_behavior_func func; 49 asc_behavior_func func;

mercurial