Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628551
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
775 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
collideWithEnnemy
(
GameEntity
*
collidingEntity
);
virtual
bool
hurt
(
int
damages
,
enumShotType
hurtingType
,
int
level
,
bool
critical
)
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, 4:25 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121658
Default Alt Text
ImpEntity.h (775 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline