Question

Hi I just need some suggestions on how to implement these few things into my UML. I have an assignment on star wars and currently I have a Force class and I implemented use in action package to enable the player and Ben Kenobi to use force.Force is under entity package where entity is any inanimate object.Affordance is the action that can be done to an entity.This is what I have done so far.
PROBLEM:Force can only be used by ben kenobi and player but it can't be used by other actors like Tuskan riders so how am I gonna implement it in my uml.Just focus onforce class.

Search: File Edit Custom Elements Help starwars.entities. x starwars.actions starwars.inter faces starwars. entities Actors Player- swActor --+-????? SWLegeno Force AttackNeighbours AttackInformation «interfacen DirectionI Patrol LightS aber


.

media%2F766%2F76695314-ae41-4010-8175-3f

media%2F829%2F829bd519-4e41-4ec9-a924-be

0 0
Add a comment Improve this question Transcribed image text
Answer #1

I guess for this particualr scenario, you can use Constraint.
Constraints can be typically used to apply conditions in your UML diagrams.
The constraint in your specific case, which can be applied to the Force class is ,player = Ben Knobi.
Please explore how it can be applied in your UML software.

Add a comment
Know the answer?
Add Answer to:
Hi I just need some suggestions on how to implement these few things into my UML....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • I need to implement some graph partitioning algorithms for my thesis. I have mostly Windows experience....

    I need to implement some graph partitioning algorithms for my thesis. I have mostly Windows experience. I would like to know if it is hard to migrate c++ console program to Linux. I want to program it on Windows but I want to test and compile it on Linux as well. It will be pure cli application, with no use of windows APi or anything. I just need to use some external libraries. Specifically GNU linear programming kit and GNU...

  • Hey I really need some help asap!!!! I have to take the node class that is...

    Hey I really need some help asap!!!! I have to take the node class that is in my ziplist file class and give it it's own file. My project has to have 4 file classes but have 3. The Node class is currently in the ziplist file. I need it to be in it's own file, but I am stuck on how to do this. I also need a uml diagram lab report explaining how I tested my code input...

  • I need help writing my main method**** Computer Science 111 Introduction to Algorithms and Programming: Java...

    I need help writing my main method**** Computer Science 111 Introduction to Algorithms and Programming: Java Programming Project #4 – Classes and Objects (20 Points) You will create 3 new classes for this project, two will be chosen from the list below and one will be an entirely new class you invent.Here is the list: Shirt Shoe Wine Book Song Bicycle VideoGame Plant Car FootBall Boat Computer WebSite Movie Beer Pants TVShow MotorCycle Design First Create three (3) UML diagrams...

  • Hello, There are some elements in my code that aren't working properly that need to be...

    Hello, There are some elements in my code that aren't working properly that need to be fixed but I don't know what I have done wrong. The printHealthBars() should print out a '+' for each point of current health and a '-' for each difference between current & max health. So, for instance, suppose the pokemon had 6/8 health, the method should print: "[ ++++++-- ]" Something is up with the damage calculation method. The idea is that it should...

  • I need help with my very last assignment of this term PLEASE!!, and here are the instructions: After reading Chapter T...

    I need help with my very last assignment of this term PLEASE!!, and here are the instructions: After reading Chapter Two, “Keys to Successful IT Governance,” from Roger Kroft and Guy Scalzi’s book entitled, IT Governance in Hospitals and Health Systems, please refer to the following assignment instructions below. This chapter consists of interviews with executives identifying mistakes that are made when governing healthcare information technology (IT). The chapter is broken down into subheadings listing areas of importance to understand...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT