/+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.h

  • Committer: Gustav Hartvigsson
  • Date: 2014-09-03 12:30:13 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20140903123013-d39e14akugcmbpbt
* added more documentation on game_object_class_initialize.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
 *
136
136
 * @warning Like <tt>object_class_initialize</tt> this does not allocate any
137
137
 * memory for the objects, that is left to the caller.
 
138
 *
 
139
 * Also see Object for more information.
 
140
 *
 
141
 * @param klass The class to industrialise.
 
142
 * @param callback_handler_func The method used to do callbacks.
 
143
 * @param draw_func The Method used to draw a GameObject.
 
144
 * @param set_callback_func The method used to hook up callbacks.
 
145
 * @param move_func The method used to move an object. It takes no parameters.
 
146
 * @param set_movement_delta_func The method used to set how a object should
 
147
 *                                move.
 
148
 * @param get_bounding_box_func The method used for getting the bounding box of
 
149
 *                              a GameObject.
 
150
 * @param get_is_alive_func The method used to determin if an obejct is alive or
 
151
 *                          not.
 
152
 * @param get_is_collide_func The method used to determin if an GameObject has
 
153
 *                            collided with an other GameObject.
 
154
 * @param set_visible_func The method used to set the visiblillity of a
 
155
                           GameObject. If NULL it will use a standard method.
 
156
 *@param get_visible_func The method used to check if a GameObject is visible
 
157
 *                        or not. If NULL it will use standard method.
138
158
 */
139
159
void game_object_class_initialize (GameObjectClass *    klass,
140
160
                             NewFunc                    new_func,