Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F625749
RockMissileEntity.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
717 B
Referenced Files
None
Subscribers
None
RockMissileEntity.h
View Options
#ifndef ROCKMISSILENTITY_H
#define ROCKMISSILENTITY_H
#include
"EnemyEntity.h"
class
RockMissileEntity
:
public
EnemyEntity
{
public
:
RockMissileEntity
(
float
x
,
float
y
,
int
rockType
);
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
inflictsRecoilTo
(
BaseCreatureEntity
*
targetEntity
);
virtual
void
dying
();
private
:
int
collisionDirection
;
int
rockType
;
bool
hasCollided
;
void
collideWall
();
};
#endif
// ROCKMISSILENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 11:52 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121126
Default Alt Text
RockMissileEntity.h (717 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline