Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F630150
FallingRockEntity.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
614 B
Referenced Files
None
Subscribers
None
FallingRockEntity.h
View Options
#ifndef FALLINGROCKENTITY_H
#define FALLINGROCKENTITY_H
#include
"EnemyEntity.h"
class
FallingRockEntity
:
public
EnemyEntity
{
public
:
FallingRockEntity
(
float
x
,
float
y
,
int
rockType
,
bool
hurtAll
);
virtual
void
animate
(
float
delay
);
virtual
void
calculateBB
();
virtual
void
render
(
sf
::
RenderTarget
*
app
);
virtual
bool
canCollide
();
protected
:
virtual
void
dying
();
virtual
void
collideWithEnemy
(
EnemyEntity
*
entity
)
override
;
private
:
int
rockType
;
int
h
;
bool
jumping
;
float
hVelocity
;
bool
hurtAll
;
bool
hasHurted
;
};
#endif
// FALLINGROCKENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 8:45 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120884
Default Alt Text
FallingRockEntity.h (614 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline