GCC Code Coverage Report


Directory: ./
File: sources/Component/component_collidable.c
Date: 2023-09-29 04:53:15
Exec Total Coverage
Lines: 0 5 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 /*
2 * Filename: sources/Component/collidable.c
3 * Path: sources/Component
4 * Created Date: Wednesday, March 15th 2023, 2:41:37 pm
5 * Author: Thomas
6 *
7 * Copyright (c) 2023 our_rpg
8 */
9
10 #include "components.h"
11 #include "world_logger.h"
12
13 int component_collidable_constructor(component_t *component, void *data)
14 {
15 component->type = C_COLLIDABLE;
16 component->data = 0;
17 log_info("Collidable component created.");
18 return 0;
19 }
20