Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628121
LargeSlimeEntity.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
1 KB
Referenced Files
None
Subscribers
None
LargeSlimeEntity.h
View Options
#ifndef LARGESLIMESPRITE_H
#define LARGESLIMESPRITE_H
#include
"EnemyEntity.h"
#include
"PlayerEntity.h"
#include
"SlimeEntity.h"
class
LargeSlimeEntity
:
public
EnemyEntity
{
public
:
LargeSlimeEntity
(
float
x
,
float
y
,
slimeTypeEnum
slimeType
);
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
;
bool
isFirstJumping
;
bool
isFalling
;
float
missileDelay
;
slimeTypeEnum
slimeType
;
int
fireSound
;
int
fireDamage
;
enumShotType
fireType
;
int
baseFrame
;
void
fire
();
};
#endif
// GIANTSLIMESPRITE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 3:16 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122125
Default Alt Text
LargeSlimeEntity.h (1 KB)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline