Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F633058
WitchEntity.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
757 B
Referenced Files
None
Subscribers
None
WitchEntity.h
View Options
#ifndef WITCHENTITY_H
#define WITCHENTITY_H
#include
"EnemyEntity.h"
class
WitchEntity
:
public
EnemyEntity
{
public
:
enum
witchTypeEnum
{
WitchTypeNormal
,
WitchTypeRed
};
WitchEntity
(
float
x
,
float
y
,
witchTypeEnum
witchType
);
virtual
void
animate
(
float
delay
);
virtual
void
calculateBB
();
protected
:
virtual
void
collideMapRight
();
virtual
void
collideMapLeft
();
virtual
void
collideMapTop
();
virtual
void
collideMapBottom
();
virtual
void
collideWithEnemy
(
EnemyEntity
*
entity
)
override
;
virtual
void
collideWithBolt
(
BoltEntity
*
boltEntity
);
virtual
void
drop
();
private
:
witchTypeEnum
witchType
;
float
timer
;
float
escapeTimer
;
void
fire
();
int
state
;
};
#endif
// WITCHENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 3:57 PM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
136237
Default Alt Text
WitchEntity.h (757 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline