Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2018, 8:45:47 PM (5 years ago)
Author:
samuelbl
Message:

Checkmove function fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wagnis_HS18/src/modules/wagnis/WagnisPlayer.h

    r12160 r12164  
    1717#include <string>
    1818#include "infos/HumanPlayer.h"
     19#include <algorithm>
     20#include <iostream>
     21
    1922
    2023
     
    5053        WagnisProvince* target_province;
    5154        int reinforcements;
     55        std::vector<int> AlreadyChecked;
    5256        bool isNeighbour(WagnisProvince*, WagnisProvince*);
    5357        bool existPath(WagnisProvince*, WagnisProvince*);
     58        bool contains(std::vector<int>, int);
    5459        int dice();
    5560        int best3(int, int, int);
Note: See TracChangeset for help on using the changeset viewer.