forked from YutaTachibana0310/SankouGoudou2019Summer
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BossColliderGuide.h
68 lines (55 loc) · 1.21 KB
/
BossColliderGuide.h
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//=====================================
//
//ボスコライダーガイドヘッダ[BossColliderGuide.h]
//Author:GP12B332 21 立花雄太
//
//=====================================
#ifndef _BOSSCOLLIDERGUIDE_H_
#define _BOSSCOLLIDERGUIDE_H_
#include "main.h"
#include "Framework\BoardPolygon.h"
#include "LineTrailModel.h"
/**************************************
前方宣言
***************************************/
class BossColliderLine;
class BossColliderEdge;
/**************************************
マクロ・列挙子定義
***************************************/
/**************************************
クラス定義
***************************************/
class BossColliderGuide
{
public:
BossColliderGuide(LineTrailModel& model);
~BossColliderGuide();
void Update();
void Draw();
private:
BossColliderEdge *edgeR, *edgeL;
BossColliderLine *line;
};
class BossColliderLine
{
public:
BossColliderLine(const D3DXVECTOR3& edgeR, const D3DXVECTOR3& edgeL);
~BossColliderLine();
void Draw();
private:
Transform* transform;
BoardPolygon *polygon;
};
class BossColliderEdge
{
public:
BossColliderEdge(const D3DXVECTOR3& pos);
BossColliderEdge();
void Update();
void Draw();
private:
Transform* transform;
BoardPolygon *polygon;
};
#endif