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
Is it possible to create a script that will retrieve data from excel?
Table Partitioning
Column: ProductIDText is not full-text searchable.
JavaScript and Ajax won't save my data on IE7 but it works fine in IE8
Installing an SSL Certificate in Microsoft Exchange Server 2007
Few users are deleted from Active Directory but thay are still visible as my colleagues in my site
Manually Inserting form data in a database using Visual Basic in Web Developer 2010 Express
hardware for express edition efficient operation
Can you install dhcp without installing dns
How to display a web page of application in another application in ASP.NET