topical media & game development
professional-program-11-GridSubclass-GameBoardTest.c
? /
professional-program-11-GridSubclass-GameBoardTest.c
include <GameBoard.h>
class ChessPiece {};
int main(int argc, char** argv)
{
GameBoard<ChessPiece> chessBoard;
ChessPiece pawn;
chessBoard.setElementAt(0, 0, pawn);
chessBoard.move(0, 0, 0, 1);
return (0);
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.