Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 4, 2014, 5:16:20 PM (10 years ago)
Author:
richtero
Message:

getting closer to a playable version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/minigame4DHS14/src/modules/mini4Dgame/Mini4Dgame.h

    r10131 r10156  
    3737#include "gametypes/Deathmatch.h"
    3838#include "mini4Dgame/Mini4DgamePrereqs.h"
    39 #include "Mini4DgameCenterpoint.h"
    4039#include "Mini4DgameBoard.h"
    4140
     
    7170            virtual void spawnPlayer(PlayerInfo* player); //!< Spawns the input player.
    7271
    73             void setCenterpoint(Mini4DgameCenterpoint* center)
    74                 { this->center_ = center; }
     72            void setGameboard(Mini4DgameBoard* board)
     73                { this->board_ = board; }
    7574
    76             static void setStone(Vector4 move, const int playerColor, Mini4DgameBoard* board);
     75            Mini4DgameBoard* getBoard(void)
     76                { return this->board_; }
     77
     78            //static void setStone(Vector4 move, const int playerColor, Mini4DgameBoard* board);
     79            static void setStone(int x,int y, int z, int w);//Vector4 move, const int playerColor);
    7780
    7881            void win(Mini4DgameWinner winner);
     
    8689
    8790            //Player players[2];
    88 
    89             WeakPtr<Mini4DgameCenterpoint> center_; //!< The centerpoint to which the objects are attached
    90             WeakPtr<Mini4DgameBoard> board_;
     91            Mini4DgameBoard* board_;
    9192    };
    9293}
Note: See TracChangeset for help on using the changeset viewer.