GCC Code Coverage Report


Directory: ./
File: sources/Component/component_controllable.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/controllable.c
3 * Path: sources/Component
4 * Created Date: Friday, March 10th 2023, 11:07:40 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_controllable_constructor(component_t *component, void *data)
14 {
15 component->type = C_CONTROLLABLE;
16 component->data = 0;
17 log_info("Controllable component created.");
18 return 0;
19 }
20