Ignore:
Timestamp:
Jan 31, 2011, 2:50:51 AM (10 years ago)
Author:
sam
Message:

Board size and number of available pieces is now a parameter of
the Board class ctor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/board.h

    r312 r314  
    1717#define __MONSTERZ_BOARD_H__
    1818
    19 #include "game.h"
     19#include "monsterz.h"
    2020
    2121class BoardData;
     
    2424{
    2525public:
    26     Board(Game *game);
     26    Board(int2 dim, int npieces);
    2727    virtual ~Board();
    2828
     
    3333    void Fill();
    3434    void Switch(int2 cell_a, int2 cell_b);
    35     int ListMashes(int list[8][8]);
    36     int ListMoves(int list[8][8]);
     35    int ListMashes(int list[MAX_WIDTH][MAX_HEIGHT]);
     36    int ListMoves(int list[MAX_WIDTH][MAX_HEIGHT]);
    3737
    3838private:
Note: See TracChangeset for help on using the changeset viewer.