Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 1, 2015, 2:50:46 PM (10 years ago)
Author:
landauf
Message:

fixed warnings & details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/minigame4DHS14/src/modules/mini4dgame/Mini4DgameBoard.h

    r10227 r10229  
    4343{
    4444
     45    struct Mini4DgamePosition
     46    {
     47        Mini4DgamePosition(int x, int y, int z, int w) : x(x), y(y), z(z), w(w) {}
     48        int x;
     49        int y;
     50        int z;
     51        int w;
     52    };
     53
    4554        struct Mini4DgameWinner
    4655        {
     
    6776            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    6877
    69             bool isValidMove(const Vector4 move);
     78            bool isValidMove(const Mini4DgamePosition& move);
    7079            void undoMove();
    71             void makeMove(const Vector4 move);
     80            void makeMove(const Mini4DgamePosition& move);
    7281            Mini4DgameWinner getWinner();
    7382
     
    7786        private:
    7887            //void registerVariables();
    79             std::vector<Vector4> moves;
     88            std::vector<Mini4DgamePosition> moves;
    8089            bool player_toggle_;
    8190            BlinkingBillboard* blinkingBillboards[4][4][4][4];
Note: See TracChangeset for help on using the changeset viewer.