Page MenuHomePhabricator (Chris)

rounddice.h
No OneTemporary

Authored By
Unknown
Size
668 B
Referenced Files
None
Subscribers
None

rounddice.h

#ifndef ROUNDDICE_H
#define ROUNDDICE_H
#include <random>
#include <SFML/Audio.hpp>
#include <SFML/Graphics.hpp>
#include "playerhud.h"
class RoundDice
{
public:
explicit RoundDice(PlayerHud (&players)[4]);
PlayerHud *playersHud;
std::string drawRound();
int diceResult;
int diceResultSix;
int throwDiceSix();
sf::Texture textureDice;
sf::Sprite spriteDice;
void setDiceTexture();
void setDiceTexture(int diceResult);
void setColor(int playerNumber);
private:
int throwDice();
int diceSize;
// void eventExtraCash();
sf::SoundBuffer sfxDiceBuffer;
sf::Sound sfxDice;
};
#endif // ROUNDDICE_H

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 1:30 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
132188
Default Alt Text
rounddice.h (668 B)

Event Timeline