~adrian-arroyocalle/multiverse-city/trunk-1

« back to all changes in this revision

Viewing changes to libmctcube/libmctcube.h

  • Committer: Adrián Arroyo Calle
  • Date: 2012-11-10 18:19:11 UTC
  • Revision ID: adrian.arroyocalle@gmail.com-20121110181911-zlm71065wbmff027
Windows

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef LIBMCTCUBE_H_INCLUDED
2
 
#define LIBMCTCUBE_H_INCLUDED
 
1
#ifndef LIBMCTCUBE_H_INCLUDED
 
2
#define LIBMCTCUBE_H_INCLUDED
 
3
 
 
4
#ifdef WIN32
 
5
#       ifdef MCTCUBE_EXPORTS
 
6
#               define MCTCUBE_API __declspec(dllexport)
 
7
#       else
 
8
#               define MCTCUBE_API __declspec(dllimport)
 
9
#       endif
 
10
#endif
3
11
 
4
12
#include "../MCT/Libs.h"
5
13
typedef enum{
16
24
 
17
25
 
18
26
 
19
 
 
20
 
typedef class Casilla{
 
27
 
 
28
class MCTCUBE_API Casilla{
21
29
 
22
30
 
23
31
 
24
32
 
25
33
public:
26
 
Casilla(MCTCasilla id);
27
 
wxBitmap GetBitmap();
28
 
int x; //Coordenada X
29
 
int y; //Coordenada Y
30
 
wxBitmap actual;
31
 
void SetBitmap(wxBitmap nuevo);
32
 
void SetCasilla(MCTCasilla id);
33
 
MCTCasilla GetCasilla();
 
34
        Casilla(MCTCasilla id);
 
35
        wxBitmap        GetBitmap();
 
36
        int                     x;              //Coordenada X
 
37
        int                     y;              //Coordenada Y
 
38
        wxBitmap        actual;
 
39
        void            SetBitmap(wxBitmap nuevo);
 
40
        void            SetCasilla(MCTCasilla id);
 
41
        MCTCasilla      GetCasilla();
34
42
private:
35
 
MCTCasilla lacasilla;
36
 
 
37
 
 
38
 
 
39
 
 
40
 
 
41
 
}Casilla;
42
 
 
43
 
class AlertBox{
 
43
        MCTCasilla      lacasilla;
 
44
 
 
45
 
 
46
 
 
47
 
 
48
 
 
49
};
 
50
 
 
51
class MCTCUBE_API AlertBox{
44
52
 
45
53
public:
46
54
AlertBox(wxString title,wxString message);
50
58
 
51
59
 
52
60
};
53
 
 
54
 
 
55
 
#endif // LIBMCTCUBE_H_INCLUDED
 
61
 
 
62
 
 
63
#endif // LIBMCTCUBE_H_INCLUDED