OpenKKnD/openkknd2-am-coder/include/ok_unit.h
2026-09-17 21:48:48 +02:00

8 lines
289 B
C

#ifndef OK_UNIT_H
#define OK_UNIT_H
#include "ok_types.h"
int ok_unit_spawn(OkWorld *w, OkFaction f, OkUnitKind k, int x, int y);
void ok_unit_step_toward(OkWorld *w, int uid, int tx, int ty);
void ok_world_tick(OkWorld *w);
int ok_world_alive_count(const OkWorld *w, OkFaction f);
#endif