home · contact · privacy
51d6612ae1c49b65cbd0a35d94fc9f2432eff1b8
[plomrogue] / src / actors.h
1 #ifndef ACTORS_H
2 #define ACTORS_H
3
4 #include <stdint.h>
5 #include "yx_uint16.h"
6
7 struct World;
8 struct Map;
9
10 struct Player {
11   struct yx_uint16 pos; };
12
13 struct Monster {
14   struct Monster * next;
15   char name;
16   struct yx_uint16 pos; };
17
18 extern char is_passable (struct Map *, struct yx_uint16);
19 extern void move_monster (struct World *, struct Monster *);
20 extern void move_player (struct World *, char);
21 extern void player_wait(struct World *);
22
23 #endif