ssafty / terasoft-12

Educational Kinect Game using C# and XNA
https://www.youtube.com/watch?v=sl8d_kQj3c0
0 stars 0 forks source link

Class Diagram class Depthbar #342

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
class : DepthBar

variables :

User[] user;
int minDepth;
int maxDepth;
Color acceptColor;
Color rejectColor;
Color[] playerColor;
Texture2D bar;
int barWidth;
int barHeight;
Texture2D playerIndicator;

Properties :

bool Accepted
string Rule

constructor :

DepthBar(User[] user, int minDepth, int maxDepth, int barWidth, int barHeight, 
Color acceptColor, Color rejectColor, Color[] playerColor)

Methods :

void LoadContent(GraphicsDevice graphicsDevice, ContentManager contentManager)
Color GradientColor(int start, int end, int currentPosition, Color startColor, 
Color endColor)
Texture2D CreateBar(GraphicsDevice graphicsDevice)
string Command(int ID)
int Depth(int ID)
void Draw(SpriteBatch spriteBatch, Vector2 position)

Original issue reported on code.google.com by 3abdelazim on 25 May 2012 at 1:00

GoogleCodeExporter commented 9 years ago

Original comment by 3abdelazim on 25 May 2012 at 1:00

GoogleCodeExporter commented 9 years ago

Original comment by mk.cena92 on 25 May 2012 at 5:27