Question: Create a class in Python using the following UML: Agent + Name - Age - LocationX - LocationY +setName(name:String):void +getName():String +MoveLocationRandom():void +MoveLocationSouth():void +MoveLocationBasedOnAge():void You will
Create a class in Python using the following UML:
| Agent |
| + Name - Age - LocationX - LocationY |
| +setName(name:String):void +getName():String +MoveLocationRandom():void +MoveLocationSouth():void +MoveLocationBasedOnAge():void |
You will determine what the methods will do (MoveLocationRandom, MoveLocationSouth, etc) since the goal of the assignment is not to complete a particular goal, but for you to create a class in Python. The only requirement is that you EXTENSIVELY use all of your methods and attributes in the main function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
