herdem_timer.c
/**
 * Allocates and initialises a new timer
 */
Allocates and initialises a new timer
Allocates and initialises a new timer
jty_txt_actor *new_herdem_timer(int x, int y, jty_map *map)
{
    jty_txt_actor *timer = malloc(sizeof(*timer));
    herdem_timer_init(timer, x, y, map);
    return timer;
}
jty_txt_actor * new_herdem_timer ( int x , int y , jty_map * map ) { jty_txt_actor * timer = malloc ( sizeof ( * timer ) ) ; herdem_timer_init ( timer , x , y , map ) ; return timer ; }
Allocates and initialises a new timer
Allocates and initialises a new timer