summaryrefslogtreecommitdiff
path: root/src/ring.h
blob: 0e146ff7d0db85ba0fac262a400593f218732b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef RING_H
#define RING_H

#include <stdbool.h>

typedef struct ring {
	int size;
	int location;
	char ascii[10];
	bool held;
} Ring;

extern Ring rings[3];
extern Ring *held;

void pickup_ring();
bool drop_ring();

#endif