/+junk/c_sdl_joypad_ducktape

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/c_sdl_joypad_ducktape

« back to all changes in this revision

Viewing changes to src/GameObject.c

  • Committer: Gustav Hartvigsson
  • Date: 2014-09-02 20:38:54 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140902203854-a9ed4ocgys80stql
* Woops, forgot to draw_func to the arguments...

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
                             ToStringFunc               to_string_func,
19
19
                             GameObjectCallbackHandlerFunc
20
20
                                                          callback_handler_func,
 
21
                             GameObjectDrawFunc         draw_func,
21
22
                             GameObjectSetCallbackFunc  set_callback_func,
22
23
                             GameObjectMoveFunc         move_func,
23
24
                             GameObjectSetMovementDeltaFunc
34
35
  /* Now we add the methods to the GameObjectClass */
35
36
  klass->callback_handler_func = callback_handler_func;
36
37
  klass->set_callback_func = set_callback_func;
 
38
  klass->draw_func = draw_func;
37
39
  klass->move_func = move_func;
38
40
  klass->set_movement_delta_func = set_movement_delta_func;
39
41
  klass->get_bounding_box_func = get_bounding_box_func;