Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 14, 2018, 9:29:00 AM (5 years ago)
Author:
samuelbl
Message:

Wagnis Player updated

File:
1 edited

Legend:

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

    r12080 r12100  
    1515#include <string>
    1616
    17 enum MoveType { ATTACK, MOVE, SET_TROOPS };
     17enum MoveType { ATTACK, MOVE, SET_TROOPS, SET_TROOPS_INITIAL };
    1818
    1919
     
    2727        virtual ~WagnisPlayer();
    2828
    29         void playerTurn(WagnisGameboard*);
     29        void playerTurn();
    3030        bool checkMove(WagnisProvince*,WagnisProvince*,MoveType);
    3131        void setTroops(WagnisProvince*);
     
    3939        WagnisProvince* origin;
    4040        WagnisProvince* target;
     41        bool isNeighbour(WagnisProvince*,WagnisProvince*);
     42        bool existPath(WagnisProvince*,WagnisProvince*)
    4143    };
    4244}
Note: See TracChangeset for help on using the changeset viewer.