-
Notifications
You must be signed in to change notification settings - Fork 2
/
demon.h
41 lines (33 loc) · 567 Bytes
/
demon.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
#pragma once
#include "enemy.h"
#define MOVERANGE 2
#define MOVESPEED 1
enum DEMONSTATE
{
DWALK,
DIDLE,
DYELL
};
class demon :public enemy
{
private :
DEMONSTATE _state4;
int demonWaitCount;
int demonBrassCount;
int demonHitCount;
int searchCount;
int demonAttackRange;
int skillFireCount;
bool tryAttack;
POINT _destination;
bool isattacking;
public:
HRESULT init();
void update() override;
void render(HDC hdc) override;
void demonMove();
void demonAttack();
void demonAnimation();
void demonLookDirection();
void demonBrassFire();
};