Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F629981
ImpEntity.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
731 B
Referenced Files
None
Subscribers
None
ImpEntity.h
View Options
#ifndef IMPSPRITE_H
#define IMPSPRITE_H
#include
"EnemyEntity.h"
class
ImpEntity
:
public
EnemyEntity
{
public
:
enum
impTypeEnum
{
ImpTypeRed
,
ImpTypeBlue
};
ImpEntity
(
float
x
,
float
y
,
impTypeEnum
impType
);
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
int
hurt
(
StructHurt
hurtParam
)
override
;
virtual
void
dying
();
private
:
impTypeEnum
impType
;
float
changingDelay
;
int
state
;
void
fire
();
void
teleport
();
};
#endif
// BATSPRITE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 8:21 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
119470
Default Alt Text
ImpEntity.h (731 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline