@@ -5,4 +5,4 @@ Below are the steps for adding a new vanity type:
...
@@ -5,4 +5,4 @@ Below are the steps for adding a new vanity type:
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.
7. (Database stuff)
7. To have this new type be used, when a vanity item of this type is created in [VanityForTest.java](https://gitlab.engr.ship.edu/merlin/freshmanrpgsuite/-/blob/main/FreshmanRPG/GameShared/src/main/java/datatypes/VanityForTest.java), it be created using this new type's ID