-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoffline.h
34 lines (25 loc) · 851 Bytes
/
offline.h
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
26
27
28
29
30
31
32
33
34
#ifndef OFFLINE_H
#define OFFLINE_H
#include "struct.h"
//#include "labyrinthAPI.h"
/*! \file offline.h
\brief offline related functions descriptions.
\author Maeva Arlandis et Alexis Devillard
\version 6.2
\date 10 janvier 2017
*/
/*! \fn int sendMoveOff(Map* L, t_move* move);
\brief Generate the shortest path to the goal with an A* algo.
\param L The labyrinth map structure.
\param P the player from which the path wll start.
\param move the to do.
*/
int getMoveOff(Map* L,int P,t_move* move);
/*! \fn void astarMv(Map* L, int P,t_move* move);
\brief Generate the shortest path to the goal with an A* algo.
\param L The labyrinth map structure.
\param P the player from which the path wll start.
\param move the that has to be done.
*/
int sendMoveOff(Map* L,int P, t_move* move);
#endif