Files
factorygame/player/player.h
2025-04-24 20:04:41 +02:00

17 lines
306 B
C

//
// Created by bruno on 4/24/25.
//
#ifndef FACTORYGAME_PLAYER_H
#define FACTORYGAME_PLAYER_H
extern int playerX;
extern int playerY;
bool isInbounds(int x, int y);
bool isInboundsRect(SDL_Rect rect);
bool isInboundsTile(int x, int y);
void adjustRect(SDL_Rect * rect);
#endif //FACTORYGAME_PLAYER_H