Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F621090
bubble.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
628 B
Referenced Files
None
Subscribers
None
bubble.h
View Options
#ifndef BUBBLE_H
#define BUBBLE_H
#include
<SFML/Graphics.hpp>
#include
"filetools.h"
enum
BubbleState
{
DICE
=
0
,
MOVE
=
1
};
class
Bubble
:
public
sf
::
Drawable
,
public
sf
::
Transformable
{
public
:
Bubble
();
public
:
sf
::
Texture
textureDice
;
sf
::
Texture
textureFootSteps
;
sf
::
Sprite
spriteDice
;
sf
::
Sprite
spriteFootSteps
;
std
::
array
<
sf
::
Sprite
,
2
>
spritesBubbles
;
BubbleState
state
;
virtual
void
draw
(
sf
::
RenderTarget
&
target
,
sf
::
RenderStates
states
)
const
;
void
update
(
sf
::
Time
deltaTime
);
float
timeCounter
;
float
posY
;
void
setPosition
(
float
x
,
float
y
);
};
#endif
// BUBBLE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 6:45 PM (17 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122444
Default Alt Text
bubble.h (628 B)
Attached To
Mode
R82 deerportal
Attached
Detach File
Event Timeline