Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F632994
LittleSpiderEntity.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
767 B
Referenced Files
None
Subscribers
None
LittleSpiderEntity.h
View Options
#ifndef LITTLESPIDERENTITY_H
#define LITTLESPIDERENTITY_H
#include
"EnemyEntity.h"
#include
"PlayerEntity.h"
enum
EnumSpiderType
{
SpiderTypeStandard
,
SpiderTypeTarantula
};
class
LittleSpiderEntity
:
public
EnemyEntity
{
public
:
LittleSpiderEntity
(
float
x
,
float
y
,
EnumSpiderType
spideType
,
bool
invocated
);
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
void
drop
();
private
:
float
timer
;
float
webTimer
;
bool
roaming
;
EnumSpiderType
spideType
;
};
#endif
// LITTLESPIDERENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 3:48 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120650
Default Alt Text
LittleSpiderEntity.h (767 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline