Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F619694
SlimePetEntity.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
870 B
Referenced Files
None
Subscribers
None
SlimePetEntity.h
View Options
#ifndef SLIMEPETSPRITE_H
#define SLIMEPETSPRITE_H
#include
"EnemyEntity.h"
class
SlimePetEntity
:
public
BaseCreatureEntity
{
public
:
SlimePetEntity
();
virtual
void
animate
(
float
delay
);
virtual
void
render
(
sf
::
RenderTarget
*
app
);
virtual
void
calculateBB
();
virtual
bool
canCollide
();
void
changeRoom
();
protected
:
virtual
bool
collideWithMap
(
int
direction
);
virtual
void
collideMapRight
();
virtual
void
collideMapLeft
();
virtual
void
collideMapTop
();
virtual
void
collideMapBottom
();
virtual
void
readCollidingEntity
(
CollidingSpriteEntity
*
entity
);
virtual
enumMovingStyle
getMovingStyle
();
private
:
float
jumpingDelay
;
float
h
,
hVelocity
;
float
attackDelay
;
bool
isJumping
;
bool
isFirstJumping
;
bool
invocated
;
bool
isFalling
();
void
fall
();
};
#endif
// SLIMESPRITE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 5:05 PM (11 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
118566
Default Alt Text
SlimePetEntity.h (870 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline