breakhack/src/position.h

18 lines
283 B
C
Raw Normal View History

2017-11-30 21:00:47 +01:00
#ifndef POSITION_H_
#define POSITION_H_
#include <stdbool.h>
2017-11-30 21:00:47 +01:00
typedef struct {
int x;
int y;
} Position;
Position position_to_matrix_coords(Position*);
Position position_to_room_coords(Position*);
bool position_in_room(Position *pos, Position *roomPos);
2017-11-30 21:00:47 +01:00
#endif // POSITION_H_