source: trunk/monsterz/board.h @ 294

Last change on this file since 294 was 294, checked in by sam, 10 years ago

Rename Float3 to float3, Int3 to int3 etc. and add the 4-member versions.

  • Property svn:keywords set to Id
File size: 566 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The Board class
8// ---------------
9//
10
11#if !defined __DH_BOARD_H__
12#define __DH_BOARD_H__
13
14#include "entity.h"
15#include "game.h"
16
17class BoardData;
18
19class Board : public Entity
20{
21public:
22    Board(Game *game);
23    virtual ~Board();
24
25protected:
26    virtual void TickGame(float deltams);
27    virtual void TickDraw(float deltams);
28
29    void Switch(int2 cell_a, int2 cell_b);
30    int ListMashes(int list[8][8]);
31
32private:
33    BoardData *data;
34};
35
36#endif // __DH_BOARD_H__
37
Note: See TracBrowser for help on using the repository browser.