-
Notifications
You must be signed in to change notification settings - Fork 0
/
BulletClass.hpp
34 lines (27 loc) · 1.31 KB
/
BulletClass.hpp
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* BulletClass.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dzui <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/05 21:33:35 by dzui #+# #+# */
/* Updated: 2017/11/05 21:34:54 by dzui ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef CPP_RUSH_00_BULLETCLASS_H
#define CPP_RUSH_00_BULLETCLASS_H
#include "Obstacle.hpp"
class BulletClass : public Obstacle
{
public:
BulletClass(int **map, int y, int x);
BulletClass();
~BulletClass();
BulletClass(const BulletClass &bul);
BulletClass &operator=(const BulletClass &bul);
void moveObstacle(int **map);
void generatePosition(int **map, int y, int x);
void setHP();
};
#endif //CPP_RUSH_00_BULLETCLASS_H