merge-requests/1/merge
parent
fe6a5016b6
commit
ccc8f7ac0a
@ -1,13 +1,22 @@
|
||||
/**
|
||||
* \file Bridge.h
|
||||
* \brief Bridge
|
||||
* \autor Martin Roualt, Jacques Thomas
|
||||
* \date 13/12/2021
|
||||
*/
|
||||
|
||||
#ifndef BRIDGE_INCLUDED
|
||||
#define BRIDGE_INCLUDED
|
||||
|
||||
#include "model/Island.h"
|
||||
|
||||
struct {
|
||||
Island a;
|
||||
Island b;
|
||||
|
||||
bool vertical;
|
||||
/**
|
||||
* \struct Bridge
|
||||
* \brief Represents a bridge which is two island
|
||||
*/
|
||||
typedef struct {
|
||||
Island islandA;///< Horizontal : left to islandB, Vertical : up to islandB
|
||||
Island islandB;///< Horizontal : right to islandA, Vertical : down to islandA
|
||||
} Bridge;
|
||||
|
||||
#endif //BRIDGE_INCLUDED
|
Loading…
Reference in new issue