summaryrefslogtreecommitdiff
path: root/Week1-Pacman/src/enemy.h
blob: a82a58eb0ed24d60ce793d03f3a2e0d81e85255a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef ENEMY_H_
#define ENEMY_H_

#include "facing.h"

enum color {BLUE, RED, PINK, ORANGE};

struct enemy_init {
  int initial_xpos;
  int initial_ypos;

  enum facing initial_facing;
  enum color initial_color;
};

struct enemy {
  int xpos;
  int ypos;

  enum facing facing;
};

void init_enemy(struct enemy* enemy);

#endif // ENEMY_H_