NTUT-FUCK-PTSD / Fuck-PTSD

This is a repo about rewriting the game `crypt of the necrodancer` in OOP Lab
MIT License
2 stars 2 forks source link

Add MapData class for storing map data and constructor arguments to RedBat, BlueSlime, GreenSlime, and OrangeSlime classes #56

Closed HeavenManySugar closed 5 months ago

HeavenManySugar commented 5 months ago

This pull request adds a new MapData class that is responsible for storing map data. It also adds constructor arguments to the RedBat, BlueSlime, GreenSlime, and OrangeSlime classes to accept a shared pointer to a SimpleMapData object. This allows the enemies to access the map data and make valid moves.