~ruther/CTU-FEE-B0B35APO-Semestral-project

ref: 9b4e7b7ed7be2596eabe16b58ebb0a0f29256075 CTU-FEE-B0B35APO-Semestral-project/lib-pheripherals/include/direction.h -rw-r--r-- 246 bytes
9b4e7b7e — František Boháček fix: text movement 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __DIRECTION_H__
#define __DIRECTION_H__

#include <stdint.h>

typedef enum {
  UP,
  LEFT,
  DOWN,
  RIGHT,
} direction_t;

void direction_move_xy(direction_t direction, int32_t *x, int32_t *y, int16_t amount);

#endif // __DIRECTION_H__