Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F623828
ButcherEntity.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
699 B
Referenced Files
None
Subscribers
None
ButcherEntity.h
View Options
#ifndef BUTCHERENTITY_H
#define BUTCHERENTITY_H
#include
"EnemyEntity.h"
#include
"PlayerEntity.h"
class
ButcherEntity
:
public
EnemyEntity
{
public
:
ButcherEntity
(
float
x
,
float
y
);
virtual
void
animate
(
float
delay
);
virtual
void
render
(
sf
::
RenderTarget
*
app
);
virtual
void
calculateBB
();
virtual
bool
isAttacking
();
protected
:
virtual
void
collideMapRight
();
virtual
void
collideMapLeft
();
virtual
void
collideMapTop
();
virtual
void
collideMapBottom
();
virtual
int
hurt
(
StructHurt
hurtParam
)
override
;
virtual
void
collideWithEnemy
(
EnemyEntity
*
entity
)
override
;
virtual
void
drop
();
private
:
float
timer
;
};
#endif
// BUTCHERENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 9:40 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
137305
Default Alt Text
ButcherEntity.h (699 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline