Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628608
GiantSlimeEntity.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
992 B
Referenced Files
None
Subscribers
None
GiantSlimeEntity.h
View Options
#ifndef GIANTSLIMESPRITE_H
#define GIANTSLIMESPRITE_H
#include
"EnemyEntity.h"
#include
"PlayerEntity.h"
class
GiantSlimeEntity
:
public
EnemyEntity
{
public
:
GiantSlimeEntity
(
float
x
,
float
y
);
virtual
void
animate
(
float
delay
);
virtual
void
render
(
sf
::
RenderTarget
*
app
);
virtual
void
calculateBB
();
virtual
void
inflictsRecoilTo
(
BaseCreatureEntity
*
targetEntity
);
virtual
bool
canCollide
();
protected
:
virtual
void
collideMapRight
();
virtual
void
collideMapLeft
();
virtual
void
collideMapTop
();
virtual
void
collideMapBottom
();
void
afterWallCollide
();
void
changeToState
(
int
n
);
virtual
void
collideWithEnemy
(
EnemyEntity
*
entity
)
override
;
virtual
void
dying
();
virtual
enumMovingStyle
getMovingStyle
();
private
:
float
timer
;
int
state
,
counter
;
float
slimeTimer
;
int
slimeCounter
;
bool
isFirstJumping
;
bool
isFalling
;
float
missileDelay
;
void
fire
();
};
#endif
// GIANTSLIMESPRITE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 4:34 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120969
Default Alt Text
GiantSlimeEntity.h (992 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline