Nimbin2git.christianimmanuel.de / Games / Entropie / collectable.c

Entropie git · main

git clone https://git.christianimmanuel.de/games/Entropie.gitwget https://git.christianimmanuel.de/games/Entropie/archive/Entropie.tar.gz
collectable.c 272 B · 11 lines raw
#include "stdlib.h"
#include "stdio.h"

#include "collectable.h"

Collectable* Collectable_create() {
    Collectable* t = (Collectable*)malloc(sizeof(Collectable));
    if (!t)
        fprintf(stderr, "Failled to allocate memory: Collectable_create();");
    return t;
}