pvjc25/a4/game.h
2025-05-02 20:07:54 +02:00

23 lines
371 B
C

#ifndef _GAME_H_INCLUDE_
#define _GAME_H_INCLUDE_
#include "world.h"
#define MOUSE_COUNT 5
struct game {
int cat_x;
int cat_y;
int mouse_x[MOUSE_COUNT];
int mouse_y[MOUSE_COUNT];
int mouse_alive[MOUSE_COUNT];
int caught;
char message[100];
};
void* init_game();
int game_event(struct event* event, void* game);
#endif