Microsoft
Software
Hardware
Network
Question : Class Diagram
Hello can someone spot the errors in my class diagram.
class Sprite
{
float xLocation, yLocation;
static int spriteCount;
public:
Sprite();
Sprite(float x,float y);
~Sprite();
virtual void collide(Sprite s);
private:
int spriteType;
};
class MoveblSprite : public Sprite
{
public:
void Move(float x, float y);
void Move(float time);
void collide(Sprite b);
protected:
Vec2D velocity;
};
class FixedSprite : public Sprite
{
public:
void collide(Sprite b);
};
class Vec2D
{
public:
Vec2D(float x,float y);
protected:
float x;
float y;
};
Attachments:
UML.jpg
(73 KB)
(File Type Details)
UML
Answer : Class Diagram
>> Was the red line under spritecount : int in the Sprite class explained in the first post? I can't tell ;p
It's not a standard notation, but the software used to generate that diagram might indeed by using underline to indicate static members.
Random Solutions
Change menu item background color via css.
Website name in other country question about registering if you live in USA
Hosting other domains under a sub folder
Access 2007 is locked for one user only
VBA to open an Access database from inside another Access db.
Unable to reinstall Exchange 2010 after SP1 beta - existing Exchange 2003 environment
where to buy the correct aspect ratio
Is there a quick way to change all Active Directory user aliases to lower case?
451 4.4.0 Primary target IP address responded with: ""554 mail.domain.gov""
How do I combine the same methods used in 5 different Code behind files?