Question
Can you show me how to draw UML diagram when I have like this program structure. /////////////////////////////////////////////////////////////////////// #ifndef ACTOR_H_ #define ACTOR_H_ #include GraphObject.h class StudentWorld;
Can you show me how to draw UML diagram when I have like this program structure.
///////////////////////////////////////////////////////////////////////
#ifndef ACTOR_H_
#define ACTOR_H_
#include "GraphObject.h"
class StudentWorld;
class Actor : public GraphObject
{};
class Person : public Actor
{};
class Iceman : public Person
{};
class Protester : public Person
{};
class RegularProtester : public Protester
{};
class HardcoreProtester : public Protester
{};
class Ice : public Actor
{};
class Boulder : public Actor
{};
class Squirt : public Actor
{};
class ActivatingObject : public Actor
{};
class OilBarrel : public ActivatingObject
{};
class GoldNugget : public ActivatingObject
{};
class SonarKit : public ActivatingObject
{};
class WaterPool : public ActivatingObject
{};
#endif // ACTOR_H_
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started