Repository navigation
Obstacle Component
First see: Entity Manager Component and Components
The Obstacle Component class is responsible for the creation of all possible obstacle types in the room entity with this component added.
ObstacleConfig[] obstacles contains all obstacle types that will be built. If any new obstacles want to be added, or current obstacles want to be removed, it can be done by adding or removing the obstacles name from the ObstacleConfig.java file.
once create() is called through a room entity, the whole obstacles list stored will be iterated through checking each obstacle through a switch case, and creating the respective obstacle type through the ObstacleFactory.java file.
If an obstacle is added to the ObstacleConfig.java file, yet not added to the switch case on create() then an IllegalArgumentException will be thrown notifying of which obstacle type is unsupported.
Entities and Components
Input Handling
- Service Locator
- Loading Resources
- Logging
- Unit Testing
- Debug Terminal
- Animations
- Audio
- AI
- Physics
- Terrain
- Concurrency & Threading
- Settings
Components
Achievements
Player
Items and Inventory
Enemies
Bosses
- Mini Boss 1: Cerberus (Egyptian)
- Mini Boss 2: Snake (Greek)
- Mini Boss 2: Snake Remake
- Mini Boss 3: Chinese Dragon
- Mini Boss 4: Sleipnir (Norse)
- Final Boss: Grandpa (Stage 2 Remake and Stage 3 Improvements)