pvjc25/du8/world.h
2025-06-11 12:22:15 +02:00

24 lines
365 B
C

#ifndef WORLD_H
#define WORLD_H
// Inicializuje (ncurses).
void world_init();
// Ukončí ncurses
void world_end();
// Vymaže obrazovku.
void world_clear();
// Vypíše ynak pozíciu kurzora.
void world_print(const char *fmt, ...);
// Presunie kurzor na (x, y).
void world_set_cursor(int x, int y);
// Prečíta jeden ynak
char world_read_key();
#endif