-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBloc.hh
49 lines (42 loc) · 933 Bytes
/
Bloc.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// Bloc.hh for Bloc in /home/nerevarine/Documents/bomberman-2015-tolsa_c
//
// Made by nerevarine
// Login <nerevarine@scarlett>
//
// Started on Mon May 28 20:32:34 2012 nerevarine
// Last update Fri Jun 1 14:13:50 2012 camille tolsa
//
#ifndef _BLOC_HH_
#define _BLOC_HH_
#include "Game.hpp"
#include "Clock.hpp"
#include "Color.hpp"
#include "GameClock.hpp"
#include "Image.hpp"
#include "Input.hpp"
#include "Model.hpp"
#include "Window.hpp"
#include "BombermanCommon.hh"
class Bloc
{
protected:
Vector3f position;
e_type type;
public:
Bloc();
Bloc(int x, int y);
~Bloc();
Vector3f getPos() const;
int getX() const;
int getY() const;
e_type getType() const;
bool getB() const;
void setB(bool);
virtual void initialize() = 0;
virtual void update() = 0;
virtual void draw() = 0;
virtual void draw(gdl::Image &) = 0;
virtual void unload() = 0;
};
#endif /* !_BLOC_HH_ */