Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hi I just need some suggestions on how to implement these few things into my UML

ID: 3716098 • Letter: H

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

Explanation / Answer

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.