Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F145117
boarddiamond.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
831 B
Referenced Files
None
Subscribers
None
boarddiamond.h
View Options
#ifndef BOARDDIAMOND_H
#define BOARDDIAMOND_H
#include
<set>
#include
"textureholder.h"
#include
"elem.h"
#include
<SFML/Graphics.hpp>
class
BoardDiamond
:
public
Elem
{
public
:
BoardDiamond
();
BoardDiamond
(
TextureHolder
*
textures
,
int
idNumber
,
int
playerNumber
,
int
boardPosition
);
TextureHolder
*
textures
;
/*!
* \brief number from the sprite sheet
*
* 0-3 are corresponding to the players numbers,
* everything above are the extra items:
* 4 - diamond
*/
int
idNumber
;
/*!
* \brief 0-3 elements area on the board
*/
int
playerNumber
;
sf
::
Sprite
spriteHolder
;
virtual
void
draw
(
sf
::
RenderTarget
&
target
,
sf
::
RenderStates
states
)
const
;
// void update(sf::Time deltaTime, std::set<int>& busyTiles);
};
#endif
// BOARDDIAMOND_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Aug 15, 9:21 PM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
77321
Default Alt Text
boarddiamond.h (831 B)
Attached To
Mode
R82 deerportal
Attached
Detach File
Event Timeline