-
Notifications
You must be signed in to change notification settings - Fork 1
RandomService
AElanagai edited this page Oct 16, 2024
·
2 revisions
RandomService
is a service that provides a random number generator for individual classes to use. This limits different class implementations using the same RNG, resulting in repeatable "random" code.
After a RandomService is registered in ServiceLocator
ServiceLocator.registerRandomService(new RandomService("Default Seed :p"));
Classes obtain their specific RNG by calling
ServiceLocator.getRandomService().getRandomNumberGenerator(this.getClass());
Design Choices
Utilities
Animals
Menus/screens
Character
- Character Animations
- Character's Inventory On Display
- Character's Inventory System
- Character's HealthBar
- Character's Interaction with Items
- Character achievements
- Saving Character
- Player-(and-other-NPC)-invincibility-frames
- Player Factory
- Scoring System
- Test Plan for Inventory System
- Test Plan for Player's Interaction with Items
- Test Plan for Player's Inventory Display
- Test Plan for Saving Character State
- Test Plan for Scoring System
Map
Weapon
- Weapon Overview
- Weapon Types
- Weapon Structure
- Weapon Stats Display
- Testing Plan for Weapon Factory
- Testing Plan for Firing Controller Component
- Testing Plan for Position Tracker Component
- Testing Plan for Weapon Animation Controller component
- Testing Plan for Concrete Melee Weapon class
- Testing Plan for Concrete Ranged Weapon class