OpenKKnD/include/ok_types.h

20 lines
No EOL
364 B
C

#ifndef OK_TYPES_H
#define OK_TYPES_H
#include <stdint.h>
// Definition für einen Koordinatenpunkt
typedef struct {
int x;
int y;
} Location;
// Definition für eine Einheit
typedef struct {
int id;
Location position;
int health;
// Weitere Eigenschaften für die kkknd2-spezifische Logik kommen hier hinzu
} Unit;
#endif // OK_TYPES_H