Update Adding new vanity types authored by Jacob Oister's avatar Jacob Oister
Below are the steps for adding a new vanity type: Below are the steps for adding a new vanity type:
1. The new type must be added to the [VanityType](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameShared/src/main/java/edu/ship/engr/shipsim/datatypes/VanityType.java) file at the end of the list. 1. The new type must be added to the [VanityType](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameShared/src/main/java/edu/ship/engr/shipsim/datatypes/VanityType.java) file at the end of the list.
2. The case must be added to the `fromInt` function 2. The case must be added to the `fromInt` function
3. A new factory must be created and added to GameClient's [player](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/tree/main/freshmanrpgsuite/FreshmanRPG/GameServer/src/main/java/edu/ship/engr/shipsim/model/Player.java) folder, ensuring that a default vanity is given. 3. A new factory must be created and added to GameClient's [player](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/freshmanrpgsuite/FreshmanRPG/GameServer/src/main/java/edu/ship/engr/shipsim/model/Player.java) folder, ensuring that a default vanity is given.
4. The factory must be added to [ScreenMap](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameClient/src/main/java/view/screen/map/ScreenMap.java) next to all the other factories and given the .atlas for its sprites. (The .atlas creation can be found in the [Adding a new sprite](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/wikis/Adding%20a%20new%20sprite) page) 4. The factory must be added to [ScreenMap](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameClient/src/main/java/view/screen/map/ScreenMap.java) next to all the other factories and given the .atlas for its sprites. (The .atlas creation can be found in the [Adding a new sprite](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/wikis/Adding%20a%20new%20sprite) page)
5. The new factory must be added [PlayerSpriteFactory](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameClient/src/main/java/view/player/PlayerSpriteFactory.java) as a local variable, parameter, and in the `create` functions similar to how the others are done. 5. The new factory must be added [PlayerSpriteFactory](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameClient/src/main/java/view/player/PlayerSpriteFactory.java) as a local variable, parameter, and in the `create` functions similar to how the others are done.
6. The type must also be added to the [Direction](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameClient/src/main/java/view/player/Direction.java) enums in the desired ordering for each direction the player can face. 6. The type must also be added to the [Direction](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameClient/src/main/java/view/player/Direction.java) enums in the desired ordering for each direction the player can face.
... ...
......