Directory: | ./ |
---|---|
File: | sources/Component/component_displayable.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/displayable.c | ||
3 | * Path: sources/Component | ||
4 | * Created Date: Sunday, February 12th 2023, 6:21:46 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_displayable_constructor(component_t *component, void *data) | |
14 | { | ||
15 | ✗ | component->type = C_DISPLAYABLE; | |
16 | ✗ | component->data = 0; | |
17 | ✗ | log_info("Displayable component created."); | |
18 | ✗ | return 0; | |
19 | } | ||
20 |