Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F631596
BogeymanEntity.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
815 B
Referenced Files
None
Subscribers
None
BogeymanEntity.h
View Options
#ifndef BOGEYSPRITE_H
#define BOGEYSPRITE_H
#include
"EnemyEntity.h"
class
BogeymanEntity
:
public
EnemyEntity
{
public
:
BogeymanEntity
(
float
x
,
float
y
);
virtual
void
animate
(
float
delay
);
virtual
void
calculateBB
();
virtual
void
render
(
sf
::
RenderTarget
*
app
);
virtual
bool
canCollide
();
virtual
void
prepareDying
()
override
;
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
:
float
changingDelay
;
int
state
;
void
fire
();
bool
hasFired
;
bool
isFireType1
;
void
teleport
();
};
#endif
// BOGEYSPRITE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 12:21 PM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120248
Default Alt Text
BogeymanEntity.h (815 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline