Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626630
GiantSpiderEntity.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
918 B
Referenced Files
None
Subscribers
None
GiantSpiderEntity.h
View Options
#ifndef GIANTSPIDERENTITY_H
#define GIANTSPIDERENTITY_H
#include
"EnemyEntity.h"
class
GiantSpiderEntity
:
public
EnemyEntity
{
public
:
GiantSpiderEntity
(
float
x
,
float
y
);
virtual
void
animate
(
float
delay
);
virtual
void
calculateBB
();
virtual
void
render
(
sf
::
RenderTarget
*
app
);
virtual
bool
canCollide
();
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
drop
();
int
getHealthLevel
();
private
:
int
state
;
bool
labelHasChanged
;
float
timer
;
float
fireDelay
;
float
walkingSoundDelay
;
int
hurtLevel
;
void
calculateRotation
();
void
fire
(
int
type
);
std
::
string
creatureName
;
};
#endif
// GIANTSPIDERENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 12:57 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121058
Default Alt Text
GiantSpiderEntity.h (918 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline