Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F630338
BubbleEntity.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
754 B
Referenced Files
None
Subscribers
None
BubbleEntity.h
View Options
#ifndef BUBBLEENTITY_H
#define BUBBLEENTITY_H
#include
"EnemyEntity.h"
enum
EnumBubbleType
{
BubbleStandard
,
BubbleIce
,
BubbleTriple
};
class
BubbleEntity
:
public
EnemyEntity
{
public
:
BubbleEntity
(
float
x
,
float
y
,
EnumBubbleType
bubbleType
,
int
bubbleSize
);
virtual
void
calculateBB
();
int
getBubbleSize
();
virtual
void
animate
(
float
delay
);
virtual
void
render
(
sf
::
RenderTarget
*
app
);
protected
:
virtual
void
collideMapRight
();
virtual
void
collideMapLeft
();
virtual
void
collideMapTop
();
virtual
void
collideMapBottom
();
virtual
void
dying
();
virtual
void
collideWithEnemy
(
EnemyEntity
*
entity
)
override
;
private
:
int
bubbleSize
;
EnumBubbleType
bubbleType
;
};
#endif
// BUBBLEENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 9:14 AM (20 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121116
Default Alt Text
BubbleEntity.h (754 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline